nixos-config/hosts/default.nix
2021-12-10 10:00:57 -05:00

17 lines
436 B
Nix

nixpkgs: hardware: nixosModule:
with hardware;
let
sys = args: nixpkgs.lib.nixosSystem {
system = builtins.head args;
modules = [ nixosModule ] ++ builtins.tail args;
};
in
{
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 ];
}