a
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
@@ -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"}
|
||||
''}";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user