puzzlevision/systems/default.nix
2025-01-13 23:35:54 +01:00

30 lines
436 B
Nix

{
lib,
self,
inputs,
...
}:
{
imports = [ inputs.easy-hosts.flakeModule ];
easyHosts = {
autoConstruct = true;
path = ../systems;
shared.modules = [
../homes
];
perClass =
class:
{
modules = [
"${self}/modules/${class}"
(lib.optionals (class == "nixos") [
inputs.home-manager.nixosModules.home-manager
])
];
};
};
}