about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 dabe334d29..8149070a8d 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 1d4273f7fc..c45ee528f6 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 = ''