about summary refs log tree commit diff stats
path: root/modules/home/impermanence/default.nix
blob: dcb60f3b1d1a0d898e2c2024cab9e3ed94ec35bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  lib,
  nixosConfig,
  ...
}: {
  config = lib.mkIf nixosConfig.soispha.impermanence.enable {
    home.persistence."/srv/home/soispha" = {
      allowOther = true;
      directories = [
        ".local/share"

        ".local/state/nvim"
        ".local/state/mpv"
        ".local/state/wireplumber"

        ".config/Signal"
        ".config/Element"
        ".config/iamb/profiles"

        ".cache"
        ".mozilla"

        "media"
        "repos"
        "school"
      ];
    };
  };
}