This commit is contained in:
2024-12-27 17:52:30 +02:00
parent c22216f6fc
commit 4c213e3f21
2 changed files with 4 additions and 3 deletions

View File

@@ -51,6 +51,7 @@
flake = "github:kyren223/server#default";
dates = "minutely"; # Poll interval
flags = [
"--impure" # Be able to read from local files
"--no-write-lock-file" # Prevent flake.lock from upgrading
"--option" "tarball-ttl" "0" # Required for polling below 1h
];

View File

@@ -26,11 +26,11 @@
acceptTerms = true;
defaults.email = "kyren223@proton.me";
certs."kyren.codes" = {
# extraDomainNames = [ "*.kyren.codes" ];
extraDomainNames = [ "*.kyren.codes" ];
dnsProvider = "namecheap";
environmentFile = "${pkgs.writeText "namecheap-creds" ''
NAMECHEAP_API_USER_FILE=/run/secrets/namecheap-api-user
NAMECHEAP_API_KEY_FILE=/run/secrets/namecheap-api-key
NAMECHEAP_API_USER=${builtins.readFile "/run/secrets/namecheap-api-user"}
NAMECHEAP_API_KEY=${builtins.readFile "/run/secrets/namecheap-api-key"}
''}";
};
};