use agenix

This commit is contained in:
Joakim Repomaa
2025-02-11 22:15:44 +02:00
parent 8a1f2c4968
commit 0bc01cd2b1
20 changed files with 182 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
{ lib, config, inputs, ... }:
let
cfg = config.services.hastebin;
secrets = config.age.secrets;
fqdn = "${cfg.subdomain}.${config.networking.domain}";
in
{
@@ -33,7 +34,7 @@ in
"jsx"
];
};
auth_tokens_file = "/var/secrets/hastebin-tokens";
auth_tokens_file = secrets.hastebin-tokens.path;
};
modules.services.webserver = {