about summary refs log tree commit diff
path: root/users/tazjin/nixos/koptevo
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-02-26T11·28+0300
committerclbot <clbot@tvl.fyi>2024-02-26T11·52+0000
commitdb2fbcac0b92ac0ceff567835009762d5ead4942 (patch)
tree79a8c4f6d5c7102645bf520ab82f113e1d9e3f8e /users/tazjin/nixos/koptevo
parent0df5049e981d3ed534f6aee8c125bd204516483b (diff)
fix(tazjin/koptevo): add hard dependency from gonic on geesefs r/7609
Change-Id: Id4c8346a4bc15e7e7da7188679f54ec1e054cf53
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11028
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/nixos/koptevo')
-rw-r--r--users/tazjin/nixos/koptevo/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/users/tazjin/nixos/koptevo/default.nix b/users/tazjin/nixos/koptevo/default.nix
index a3eede1c5783..39a4887c725c 100644
--- a/users/tazjin/nixos/koptevo/default.nix
+++ b/users/tazjin/nixos/koptevo/default.nix
@@ -147,11 +147,14 @@ in
   };
 
   # hack to work around the strict sandboxing of the gonic module
-  # breaking DNS resolutino
+  # breaking DNS resolution
   systemd.services.gonic.serviceConfig.BindReadOnlyPaths = [
     "-/etc/resolv.conf"
   ];
 
+  # add a hard dependency on the FUSE mount
+  systemd.services.gonic.requires = [ "geesefs.service" ];
+
   services.nginx.virtualHosts."music.tazj.in" = {
     addSSL = true;
     enableACME = true;