structure hosts

This commit is contained in:
lucy 2026-10-03 01:02:00 +02:00
commit 07b5e8d344
2 changed files with 32 additions and 31 deletions

View file

@ -24,34 +24,38 @@
nix-maid,
mangowm,
}:
let
mods = [
nixcord.nixosModules.nixcord
mangowm.nixosModules.mango
./configuration.nix
./maid.nix
];
in
let
mods = [
nix-maid.nixosModules.default
nixcord.nixosModules.nixcord
mangowm.nixosModules.mango
./configuration.nix
./maid.nix
];
in
{
nixosConfigurations.nerv = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
system = "x86_64-linux";
modules = [
./hosts/desktop/hardware-configuration.nix
] ++ mods;
({ config, ...}: {
networking.hostname = "nerv";
});
({ config, ... }: {
imports = [ ./hosts/desktop/hardware-configuration.nix ];
networking.hostName = "nerv";
})
]
++ mods;
};
nixosConfigurations.seele = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
system = "x86_64-linux";
modules = [
({ config, ... }: {
imports = [ ./hosts/laptop/hardware-configuration.nix ];
networking.hostName = "seele";
})
]
++ mods;
};
};
nixosConfigurations.seele = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
system = "x86_64-linux";
modules = [
./hosts/laptop/hardware-configuration.nix
] ++ mods;
({ config, ...}: {
networking.hostname = "seele";
});
}
}