summaryrefslogtreecommitdiff
path: root/home/isolation.nix
blob: 276d0d83d7c280712cfeb91e5a351a8c7bc9d306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, ... }:
with lib; {
  home.isolation = {
    enable = true;
    btrfsSupport = true;

    defaults = {
      static = false;
      bindHome = "home";

      persist = {
        base = "shenvs";
        btrfs = true;
      };
    };

    modules = import ../util/importAll.nix lib { root = ./shenvs; };
  };
}