add syncthing and keepass
This commit is contained in:
parent
bb9494227f
commit
4a800d9290
14 changed files with 183 additions and 80 deletions
|
|
@ -8,17 +8,17 @@
|
|||
...
|
||||
}: let
|
||||
cfg = config.myHomeManager;
|
||||
# Taking all modules in ./features and adding enables to them
|
||||
features =
|
||||
helperLib.extendModules
|
||||
(name: {
|
||||
extraOptions = {
|
||||
myHomeManager.${name}.enable = lib.mkEnableOption "enable my ${name} configuration";
|
||||
};
|
||||
|
||||
configExtension = config: (lib.mkIf cfg.${name}.enable config);
|
||||
})
|
||||
(helperLib.filesIn ./features);
|
||||
# # Taking all modules in ./features and adding enables to them
|
||||
# features =
|
||||
# helperLib.extendModules
|
||||
# (name: {
|
||||
# extraOptions = {
|
||||
# myHomeManager.${name}.enable = lib.mkEnableOption "enable my ${name} configuration";
|
||||
# };
|
||||
#
|
||||
# configExtension = config: (lib.mkIf cfg.${name}.enable config);
|
||||
# })
|
||||
# (helperLib.filesIn ./features);
|
||||
|
||||
# Taking all module bundles in ./bundles and adding bundle.enables to them
|
||||
bundles =
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
in {
|
||||
imports = [
|
||||
]
|
||||
++ features
|
||||
# ++ features
|
||||
++ bundles
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue