diff options
Diffstat (limited to 'users/grfn/xanthous/server/module.nix')
-rw-r--r-- | users/grfn/xanthous/server/module.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/users/grfn/xanthous/server/module.nix b/users/grfn/xanthous/server/module.nix index 11adda955d2c..cbc10c014de5 100644 --- a/users/grfn/xanthous/server/module.nix +++ b/users/grfn/xanthous/server/module.nix @@ -24,6 +24,11 @@ in { default = depot.users.grfn.xanthous.server.docker; description = "OCI image file to run"; }; + + ed25519SecretKeyFile = mkOption { + type = with types; uniq string; + description = "Path to the ed25519 secret key for the server"; + }; }; }; @@ -36,6 +41,7 @@ in { "${toString cfg.port}:22" "${toString cfg.metricsPort}:9000" ]; + environment.SECRET_KEY_FILE = "/etc/secrets/xanthous-server-secret-key"; }; }; } |