From 222125ca5960398a4f5e5580dfc66893ddb676ea Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 25 Aug 2022 19:11:54 -0600 Subject: home/shenvs: update shenvs to match hm-isolation --- home/isolation.nix | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'home/isolation.nix') 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; }; + }; } -- cgit v1.2.3