diff options
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/au/ausweisapp/module.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/by-name/au/ausweisapp/module.nix b/modules/by-name/au/ausweisapp/module.nix new file mode 100644 index 00000000..e74f3d91 --- /dev/null +++ b/modules/by-name/au/ausweisapp/module.nix @@ -0,0 +1,21 @@ +{ + config, + lib, + libraries, + ... +}: let + cfg = config.soispha.programs.ausweisapp; +in { + options.soispha.programs.ausweisapp = { + enable = libraries.base.options.mkEnable "AusweisApp"; + }; + + config = lib.mkIf cfg.enable { + soispha.impermanence.userDirectories = [ + ".config/AusweisApp" + ]; + soispha.services.unison.pathsToSync = [ + "~/.config/AusweisApp" + ]; + }; +} |
