nixos-config/hosts/default.nix

18 lines
436 B
Nix
Raw Normal View History

2021-12-10 06:34:46 +00:00
nixpkgs: hardware: nixosModule:
with hardware;
let
sys = args: nixpkgs.lib.nixosSystem {
system = builtins.head args;
modules = [ nixosModule ] ++ builtins.tail args;
};
in
{
2021-12-10 15:00:57 +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
}