about summary refs log tree commit diff
path: root/users/tazjin/nixos/koptevo
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-10-01T11·17+0300
committerclbot <clbot@tvl.fyi>2023-10-01T14·26+0000
commitac94bf46a62d32066f47c88b965f98cb2b01fe5e (patch)
treea87fdab5e69b0c6c4b1dc5c68106f785187b6220 /users/tazjin/nixos/koptevo
parentc941ccb42b99d2686b4b573c8cb7a16a17e87b49 (diff)
fix(tazjin/koptevo): minor reliability fixes for music setup r/6683
* zramSwap: during reindexing, geesefs can be pushed to the boundaries
  of what the new overaggressive OOM killer accepts, and I don't want
  to bother configuring that thing instead.

* umount: geesefs dying unexpectedly leaves broken mounts around,
  clean these up before proceeding

This bakes in the assumption that there's only ever one geesefs
service, but that assumption is baked in anyways.

Change-Id: Id85c2f5bc2312a7246ea20229eb36d2cc1bd82c0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9500
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/nixos/koptevo')
-rw-r--r--users/tazjin/nixos/koptevo/default.nix1
1 files changed, 1 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";
 }