mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
20 lines
539 B
Nix
20 lines
539 B
Nix
hardware: nixosModule:
|
|
with hardware;
|
|
|
|
builtins.mapAttrs
|
|
|
|
(name: { system, mods }: {
|
|
inherit system;
|
|
modules = mods ++ [
|
|
nixosModule
|
|
{ networking.hostName = name; }
|
|
];
|
|
})
|
|
|
|
{
|
|
cube = { system = "x86_64-linux"; mods = [ physical ./cube ]; };
|
|
hp = { system = "x86_64-linux"; mods = [ physical ./hp ]; };
|
|
lenny = { system = "x86_64-linux"; mods = [ physical ./lenny ]; };
|
|
nixdev = { system = "x86_64-linux"; mods = [ qemu ./nixdev ]; };
|
|
slate = { system = "x86_64-linux"; mods = [ physical ./slate ]; };
|
|
}
|