add syncthing and keepass

This commit is contained in:
MFlossmann 2024-05-16 15:09:24 +02:00
parent bb9494227f
commit 4a800d9290
14 changed files with 183 additions and 80 deletions

View file

@ -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
;