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

@@ -14,6 +14,7 @@ in
inputs.disko.nixosModules.disko
../../modules/common
./hard.nix
./host.nix
inputs.nixos-hardware.nixosModules.common-cpu-intel
inputs.nixos-hardware.nixosModules.common-pc
inputs.nixos-hardware.nixosModules.common-pc-ssd
@@ -43,11 +44,6 @@ in
../../modules/yubikey
];
host = {
username = "h";
name = "andromache";
};
home-manager.users.${config.host.username} = import ../../home/hosts/andromache {
inherit
inputs

View File

@@ -0,0 +1,4 @@
{
username = "h";
name = "andromache";
}