refactor: extract host config into 'host.nix' files

This commit is contained in:
2026-03-11 23:36:54 +01:00
parent 12481d7468
commit aa98056f23
12 changed files with 30 additions and 30 deletions

View File

@@ -12,6 +12,7 @@
./hard.nix
inputs.sops-nix.nixosModules.sops
./disk.nix
./host.nix
../../modules/boot/bootloader.nix
../../modules/keyboard
(import ../../modules/networking { hostName = config.host.name; })
@@ -27,11 +28,6 @@
})
];
host = {
username = "h";
name = "vm";
};
home-manager.users.${config.host.username} = import ../../home/hosts/vm {
inherit inputs config pkgs;
};