mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-01-19 02:13:06 +01:00
30 lines
436 B
Nix
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
|
|
])
|
|
];
|
|
};
|
|
};
|
|
}
|