nixos-config/hosts/default.nix

20 lines
285 B
Nix
Raw Normal View History

2022-06-17 17:06:41 +00:00
nixosModule:
2021-12-10 06:34:46 +00:00
2022-06-16 03:20:48 +00:00
builtins.mapAttrs
2022-06-17 17:06:41 +00:00
(name: system: {
2021-12-21 19:26:36 +00:00
inherit system;
2022-06-17 17:06:41 +00:00
modules = [
2022-06-16 03:20:48 +00:00
nixosModule
2022-06-17 17:06:41 +00:00
(./. + "/${name}")
2022-06-16 03:20:48 +00:00
{ networking.hostName = name; }
];
})
2021-12-10 06:34:46 +00:00
{
2022-06-17 17:06:41 +00:00
cube = "x86_64-linux";
hp = "x86_64-linux";
lenny = "x86_64-linux";
2022-10-07 04:58:13 +00:00
levi = "x86_64-linux";
2021-12-10 06:34:46 +00:00
}