about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/tazjin/nixos/koptevo/default.nix1
-rw-r--r--users/tazjin/nixos/modules/geesefs.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/users/tazjin/nixos/koptevo/default.nix b/users/tazjin/nixos/koptevo/default.nix
index dabe334d295c..8149070a8d53 100644
--- a/users/tazjin/nixos/koptevo/default.nix
+++ b/users/tazjin/nixos/koptevo/default.nix
@@ -170,6 +170,7 @@ in
 
   programs.mtr.enable = true;
   programs.mosh.enable = true;
+  zramSwap.enable = true;
 
   system.stateVersion = "23.05";
 }
diff --git a/users/tazjin/nixos/modules/geesefs.nix b/users/tazjin/nixos/modules/geesefs.nix
index 1d4273f7fc59..c45ee528f6a2 100644
--- a/users/tazjin/nixos/modules/geesefs.nix
+++ b/users/tazjin/nixos/modules/geesefs.nix
@@ -19,6 +19,7 @@
       Restart = "always";
       LoadCredential = "geesefs-tazjins-files:/run/agenix/geesefs-tazjins-files";
       StateDirectory = "geesefs";
+      ExecStartPre = "/run/wrappers/bin/umount -a -t fuse.geesefs";
     };
 
     script = ''