summaryrefslogtreecommitdiffstats
path: root/modules/by-name/au
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/au/ausweisapp/module.nix21
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..ee3e8917
--- /dev/null
+++ b/modules/by-name/au/ausweisapp/module.nix
@@ -0,0 +1,21 @@
+{
+ config,
+ lib,
+ extra_lib,
+ ...
+}: let
+ cfg = config.soispha.programs.ausweisapp;
+in {
+ options.soispha.programs.ausweisapp = {
+ enable = extra_lib.options.mkDefaultEnabled "AusweisApp";
+ };
+
+ config = lib.mkIf cfg.enable {
+ vhack.persist.userDirectories.soispha = [
+ ".config/AusweisApp"
+ ];
+ soispha.services.unison.pathsToSync = [
+ "~/.config/AusweisApp"
+ ];
+ };
+}