mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-01-31 16:23:07 +01:00
30 lines
494 B
Nix
30 lines
494 B
Nix
{
|
|
inputs,
|
|
namespace,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ inputs.easy-hosts.flakeModule ];
|
|
|
|
easyHosts = {
|
|
autoConstruct = true;
|
|
path = ../../systems;
|
|
|
|
shared = {
|
|
specialArgs = {
|
|
inherit namespace;
|
|
};
|
|
};
|
|
|
|
perClass = class: {
|
|
modules = [
|
|
# Import modules based on current classname.
|
|
../${class}
|
|
|
|
(inputs.nixpkgs.lib.optionals (class == "nixos") [
|
|
inputs.home-manager.nixosModules.default
|
|
])
|
|
];
|
|
};
|
|
};
|
|
}
|