summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-08-25 19:11:54 -0600
committerAlejandro Soto <alejandro@34project.org>2022-08-25 19:27:02 -0600
commit222125ca5960398a4f5e5580dfc66893ddb676ea (patch)
treed61a971b96c2be954b4e42bbdfc60e3fd134ddae /home
parent64e6052f5f24213141faba155b896c6beaef26f4 (diff)
home/shenvs: update shenvs to match hm-isolation
Diffstat (limited to 'home')
-rw-r--r--home/isolation.nix19
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; };
+ };
}