about summary refs log tree commit diff stats
path: root/home-manager/impermanence/default.nix
blob: 90b2152b307d9ff75a590f7ea2cefc88f74d51c3 (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
30
{
  lib,
  nixosConfig,
  ...
}: {
  config = lib.mkIf nixosConfig.soispha.impermanence.enable {
    home.persistence."/srv/home/soispha" = {
      allowOther = true;
      directories = [
        ".local/share"

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

        ".config/Signal"
        ".config/Element"

        ".cache"
        ".mozilla"

        "media"
        "repos"
        "school"
      ];
      files = [
        ".local/state/lesshst"
      ];
    };
  };
}