about summary refs log tree commit diff stats
path: root/home-manager/impermanence/default.nix
blob: bcb1c62f0086be54341d8f0bafba5690e8dd5f6b (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
# vim: ts=2
{
  config,
  impermanence,
  ...
}: {
  import = [
    impermanence.nixosModules.home-manager.impermanence
  ];

  home.persistence."/srv${config.home.homeDirectory}" = {
    directories = [
      ".local/share"
      ".cache"

      "media"
      "repos"
      "school"
    ];
    files = [
      ".screenrc"
    ];
    allowOther = true;
  };
}