mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
18 lines
501 B
Nix
18 lines
501 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 ./x86_64-linux/cube ];
|
||
|
hp = sys [ "x86_64-linux" physical ./x86_64-linux/hp ];
|
||
|
lenny = sys [ "x86_64-linux" physical ./x86_64-linux/lenny ];
|
||
|
nixdev = sys [ "x86_64-linux" qemu ./x86_64-linux/nixdev ];
|
||
|
slate = sys [ "x86_64-linux" physical ./x86_64-linux/slate ];
|
||
|
}
|