mirror of
https://github.com/nix-community/flakelight.git
synced 2024-11-22 15:33:10 +01:00
Add singular nixosModule and template
This commit is contained in:
parent
e33400c88c
commit
3136d8e860
12
default.nix
12
default.nix
@ -84,8 +84,10 @@ let
|
||||
"app"
|
||||
"apps"
|
||||
"checks"
|
||||
"nixosModule"
|
||||
"nixosModules"
|
||||
"nixosConfigurations"
|
||||
"template"
|
||||
"templates"
|
||||
"formatters"
|
||||
"systems"
|
||||
@ -188,9 +190,15 @@ let
|
||||
default = module'.app;
|
||||
});
|
||||
checks = ensureFn module'.checks;
|
||||
nixosModules = applyParams module'.nixosModules;
|
||||
nixosModules = (applyParams module'.nixosModules)
|
||||
// optionalAttrs (module' ? nixosModule) {
|
||||
default = module'.nixosModule;
|
||||
};
|
||||
nixosConfigurations = applyParams module'.nixosConfigurations;
|
||||
templates = applyParams module'.templates;
|
||||
templates = (applyParams module'.templates)
|
||||
// optionalAttrs (module' ? template) {
|
||||
default = module'.template;
|
||||
};
|
||||
formatters = ensureFn module'.formatters;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user