about summary refs log tree commit diff stats
path: root/modules/by-name
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/im/impermanence/module.nix25
1 files changed, 22 insertions, 3 deletions
diff --git a/modules/by-name/im/impermanence/module.nix b/modules/by-name/im/impermanence/module.nix
index 513a91b7..140e0754 100644
--- a/modules/by-name/im/impermanence/module.nix
+++ b/modules/by-name/im/impermanence/module.nix
@@ -15,13 +15,32 @@ in {
   };
 
   config = lib.mkIf cfg.enable {
-    # needed for the hm impermanence config
-    programs.fuse.userAllowOther = true;
-
     environment.persistence = {
       "/srv" = {
         hideMounts = true;
         inherit (cfg) directories;
+
+        users.soispha = {
+          directories = [
+            ".local/share"
+
+            ".local/state/nvim"
+            ".local/state/mpv"
+            ".local/state/wireplumber"
+
+            ".config/Signal"
+            ".config/Element"
+            ".config/iamb/profiles"
+
+            ".cache"
+            ".mozilla"
+
+            "media"
+            "repos"
+            "school"
+          ];
+        };
+
         files = [
           "/etc/machine-id"
         ];