From 0cb2187ebd08e4344eca4243938c3bbc856acc28 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Fri, 25 Apr 2025 00:28:28 -0500 Subject: [PATCH] new path for updated secret file sharing --- nixos/configuration.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 98c858f..212af3b 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -19,7 +19,7 @@ in # Secret Management sops = { - age.keyFile = "./age/keys.txt"; # Make sure to gitignore, contains private key. + age.keyFile = "/etc/sops/age/keys.txt"; defaultSopsFormat = "json"; secrets = { @@ -51,8 +51,8 @@ in email = "roydumblauskas@gmail.com"; dnsProvider = "cloudflare"; credentialFiles = { - CF_API_EMAIL = config.sops.secrets."cloudflare-api-email".path; - CF_API_KEY = config.sops.secrets."cloudflare-api-key".path; + CF_API_EMAIL_FILE = config.sops.secrets."cloudflare-api-email".path; + CF_API_KEY_FILE = config.sops.secrets."cloudflare-api-key".path; }; }; }; @@ -61,7 +61,6 @@ in services.nginx.virtualHosts."roypository.com" = { forceSSL = true; - addSSL = true; enableACME = true; acmeRoot = null; }; @@ -69,7 +68,6 @@ in services.nginx.virtualHosts."test.roypository.com" = { forceSSL = true; - addSSL = true; enableACME = true; acmeRoot = null; root = "${testSiteIndex}";