Replaced hardcoded sops paths
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
extraDomainNames = [ "*.kyren.codes" ];
|
||||
dnsProvider = "cloudflare";
|
||||
environmentFile = "${pkgs.writeText "cf-creds" ''
|
||||
CF_DNS_API_TOKEN_FILE=/run/secrets/cloudflare-dns-api-token
|
||||
CF_DNS_API_TOKEN_FILE=${config.sops.secrets.cloudflare-dns-api-token.path}
|
||||
''}";
|
||||
webroot = null;
|
||||
};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
# PAT to be able to access the repo
|
||||
sops.secrets.github-access-token = { };
|
||||
nix.extraOptions = "!include /run/secrets/github-access-token";
|
||||
nix.extraOptions = "!include ${config.sops.secrets.github-access-token.path}";
|
||||
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user