mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-09 20:30:05 +00:00
🚧 Initial work on generating homeConfigurations output + syntax changes
This commit is contained in:
parent
f139b88c0b
commit
f89cbcc552
12 changed files with 131 additions and 106 deletions
|
@ -4,9 +4,8 @@
|
|||
namespace,
|
||||
puzzlelib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ inputs.easy-hosts.flakeModule ];
|
||||
}: {
|
||||
imports = [inputs.easy-hosts.flakeModule];
|
||||
|
||||
easyHosts = {
|
||||
autoConstruct = true;
|
||||
|
@ -19,11 +18,11 @@
|
|||
};
|
||||
|
||||
perClass = class: {
|
||||
modules = [
|
||||
modules =
|
||||
(lib.optionals (class == "nixos") [
|
||||
inputs.home-manager.nixosModules.default
|
||||
])
|
||||
] ++ (puzzlelib.dirToModuleList ../${class}); # Import modules based on current classname.
|
||||
++ (puzzlelib.dirToModuleList ../${class}); # Import modules based on current classname.
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue