mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
19 lines
285 B
Nix
19 lines
285 B
Nix
nixosModule:
|
|
|
|
builtins.mapAttrs
|
|
|
|
(name: system: {
|
|
inherit system;
|
|
modules = [
|
|
nixosModule
|
|
(./. + "/${name}")
|
|
{ networking.hostName = name; }
|
|
];
|
|
})
|
|
|
|
{
|
|
cube = "x86_64-linux";
|
|
hp = "x86_64-linux";
|
|
lenny = "x86_64-linux";
|
|
levi = "x86_64-linux";
|
|
}
|