fix(tazjin/koptevo): minor reliability fixes for music setup

* 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
This commit is contained in:
Vincent Ambo 2023-10-01 14:17:21 +03:00 committed by clbot
parent c941ccb42b
commit ac94bf46a6
2 changed files with 2 additions and 0 deletions

View file

@ -170,6 +170,7 @@ in
programs.mtr.enable = true;
programs.mosh.enable = true;
zramSwap.enable = true;
system.stateVersion = "23.05";
}

View file

@ -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 = ''