nixos-config/hosts/default.nix

18 lines
417 B
Nix
Raw Normal View History

2021-12-10 06:34:46 +00:00
nixpkgs: hardware: nixosModule:
with hardware;
let
2021-12-21 19:26:36 +00:00
sys = system: mods: nixpkgs.lib.nixosSystem {
inherit system;
modules = [ nixosModule ] ++ mods;
2021-12-10 06:34:46 +00:00
};
in
{
2021-12-21 19:26:36 +00:00
cube = sys "x86_64-linux" [ physical ./cube ];
hp = sys "x86_64-linux" [ physical ./hp ];
lenny = sys "x86_64-linux" [ physical ./lenny ];
nixdev = sys "x86_64-linux" [ qemu ./nixdev ];
slate = sys "x86_64-linux" [ physical ./slate ];
2021-12-10 06:34:46 +00:00
}