nixos/machines/vetus/default.nix
Ivan Bushchik 409c6c276b
Host private yggdrasil peer
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-12-17 10:57:18 +03:00

40 lines
791 B
Nix

{ config, pkgs, ... }:
let my = import ../..;
in {
imports = [ ./hardware.nix my.modules ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "vetus";
my.laptop.enable = false;
my.git.enable = true;
my.roles = {
design.enable = true;
devel.enable = true;
gaming.enable = true;
graphical.enable = true;
latex.enable = true;
virtualisation.enable = true;
yggdrasil-client.enable = true;
yggdrasil-peer.enable = false;
};
my.users = {
ivabus.enable = true;
user.enable = false;
};
my.features.secrets = true;
networking.useDHCP = true;
services.xserver.videoDrivers = [ "amdgpu" ];
boot.initrd.kernelModules = [ "amdgpu" ];
system.stateVersion = "23.05";
}