aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/au/ausweisapp/module.nix
blob: e74f3d91ac584b9b79f15eedd4204bdc0718bcc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"
    ];
  };
}