diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-08-25 19:11:54 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-08-25 19:27:02 -0600 |
| commit | 222125ca5960398a4f5e5580dfc66893ddb676ea (patch) | |
| tree | d61a971b96c2be954b4e42bbdfc60e3fd134ddae /home | |
| parent | 64e6052f5f24213141faba155b896c6beaef26f4 (diff) | |
home/shenvs: update shenvs to match hm-isolation
Diffstat (limited to 'home')
| -rw-r--r-- | home/isolation.nix | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/home/isolation.nix b/home/isolation.nix index cfb6872..276d0d8 100644 --- a/home/isolation.nix +++ b/home/isolation.nix @@ -1,4 +1,19 @@ -{ lib, pkgs, ... }: +{ lib, ... }: with lib; { - home.isolation.enable = true; + home.isolation = { + enable = true; + btrfsSupport = true; + + defaults = { + static = false; + bindHome = "home"; + + persist = { + base = "shenvs"; + btrfs = true; + }; + }; + + modules = import ../util/importAll.nix lib { root = ./shenvs; }; + }; } |
