mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
20 lines
313 B
Nix
20 lines
313 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";
|
|
testbox = "x86_64-linux";
|
|
}
|