nixos/hosts/vm/apprentix/default.nix

34 lines
496 B
Nix

{ ... }:
{
imports = [
./hardware-configuration.nix
];
boot.loader.grub.devices = [ "/dev/sda" ];
networking.hostName = "apprentix";
crans = {
enable = true;
networking = {
id = 50;
srvNat.enable = true;
};
homeNounou.enable = false;
users.root.passwordFile = ../../../secrets/apprentix/root.age;
};
security.sudo.extraRules = [
{
groups = [ "_user" ];
commands = [ "ALL" ];
}
];
system.stateVersion = "24.11";
}