about summary refs log tree commit diff
path: root/users/grfn/xanthous/server/module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/xanthous/server/module.nix')
-rw-r--r--users/grfn/xanthous/server/module.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/grfn/xanthous/server/module.nix b/users/grfn/xanthous/server/module.nix
index cbc10c014de5..73ac276caf4a 100644
--- a/users/grfn/xanthous/server/module.nix
+++ b/users/grfn/xanthous/server/module.nix
@@ -41,7 +41,8 @@ in {
         "${toString cfg.port}:22"
         "${toString cfg.metricsPort}:9000"
       ];
-      environment.SECRET_KEY_FILE = "/etc/secrets/xanthous-server-secret-key";
+      environment.SECRET_KEY_FILE = "/secret-key";
+      volumes = [ "/etc/secrets/xanthous-server-secret-key:/secret-key" ];
     };
   };
 }