still not getting sops-nix naming convention

This commit is contained in:
chloe 2024-07-15 18:02:09 +02:00
parent 340fb4590b
commit 09ff4bff73

View file

@ -34,15 +34,15 @@ in
config = { config = {
sops.defaultSopsFile = ./secrets/services-keys.json; sops.defaultSopsFile = ./secrets/services-keys.json;
sops.secrets.service-key = { sops.secrets.service-key = {
sonarr = { }; "sonarr" = { };
radarr = { }; "radarr" = { };
jellyfin = { }; "jellyfin" = { };
jellyseerr = { }; "jellyseerr" = { };
pihole = { }; "pihole" = { };
transmission = { }; "transmission" = { };
prowlarr = { }; "prowlarr" = { };
proxmoxPassword = { }; "proxmoxPassword" = { };
proxmoxUsername = { }; "proxmoxUsername" = { };
}; };
services.homepage-dashboard = { services.homepage-dashboard = {
@ -78,7 +78,7 @@ in
widget = { widget = {
type = "jellyfin"; type = "jellyfin";
url = "http://${ip}:8096"; url = "http://${ip}:8096";
key = config.sops.service-key.jellyfin; key = config.sops.secrets.service-key."jellyfin";
}; };
}; };
} }
@ -108,7 +108,7 @@ in
widget = { widget = {
type = "jellyseerr"; type = "jellyseerr";
url = "http://${ip}:5055"; url = "http://${ip}:5055";
key = config.sops.secrets.service-key.jellyseerr; key = config.sops.secrets.service-key."jellyseerr";
}; };
}; };
} }
@ -127,7 +127,7 @@ in
widget = { widget = {
type = "readarr"; type = "readarr";
url = "http://$ip:8787"; url = "http://$ip:8787";
key = config.sops.secrets.service-key.readarr; key = config.sops.secrets.service-key."readarr";
}; };
}; };
} }
@ -138,7 +138,7 @@ in
href = "http://${ip}:9696/"; href = "http://${ip}:9696/";
widget = { widget = {
type = "prowlarr"; type = "prowlarr";
key = config.sops.secrets.service-key.prowlarr; key = config.sops.secrets.service-key."prowlarr";
}; };
}; };
} }
@ -150,7 +150,7 @@ in
href = "http://${ip}:8989"; href = "http://${ip}:8989";
widget = { widget = {
type = "sonarr"; type = "sonarr";
key = config.sops.secrets.service-key.sonarr; key = config.sops.secrets.service-key."sonarr";
}; };
}; };
} }
@ -161,7 +161,7 @@ in
href = "http://${ip}:7878"; href = "http://${ip}:7878";
widget = { widget = {
type = "radarr"; type = "radarr";
key = config.sops.secrets.service-key.radarr; key = config.sops.secrets.service-key."radarr";
}; };
}; };
} }
@ -215,8 +215,8 @@ in
href = "https://${cfg.proxmoxVEIp}:8006"; href = "https://${cfg.proxmoxVEIp}:8006";
widget = { widget = {
type = "proxmox"; type = "proxmox";
username = config.sops.secrets.service-key.proxmoxUsername; username = config.sops.secrets.service-key."proxmoxUsername";
key = config.sops.secrets.service-key.proxmoxPassword; key = config.sops.secrets.service-key."proxmoxPassword";
url = "https://${cfg.proxmoxVEIp}:8006"; url = "https://${cfg.proxmoxVEIp}:8006";
node = "pve"; node = "pve";
}; };
@ -229,7 +229,7 @@ in
href = "http://${cfg.piholeURL}"; href = "http://${cfg.piholeURL}";
widget = { widget = {
type = "pihole"; type = "pihole";
key = config.sops.secrets.service-key.pihole; key = config.sops.secrets.service-key."pihole";
url = "http://${cfg.piholeURL}"; url = "http://${cfg.piholeURL}";
}; };
}; };