file cleanup, conditional motd

This commit is contained in:
2026-06-14 08:35:44 -05:00
parent fcb8961c69
commit 11d3fcd8ec
27 changed files with 407 additions and 409 deletions
+1 -5
View File
@@ -5,7 +5,6 @@
...
}: let
cfg = config.homelab.ddns;
token = config.sops.secrets."cloudflare/api_token".path;
sec = config.sops.secrets;
in {
options.homelab.ddns = {
@@ -15,7 +14,7 @@ in {
config = lib.mkIf cfg.enable {
services.cloudflare-ddns = {
enable = true;
credentialsFile = token;
credentialsFile = sec."cloudflare/api_token".path;
domains = [
# recoil.pro
"recoil.pro"
@@ -31,12 +30,9 @@ in {
"*.blakedheld.xyz"
"git.blakedheld.xyz"
"up.blakedheld.xyz"
];
};
# network config
# declare authkey secrets
sops.secrets = {
"cloudflare/api_token" = {