mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-19 05:39:34 +01:00
okay i finally got it
This commit is contained in:
parent
3674ad502b
commit
e4d9b730b1
|
@ -34,16 +34,16 @@ in
|
||||||
config = {
|
config = {
|
||||||
sops.defaultSopsFile = ../secrets/services-keys.json;
|
sops.defaultSopsFile = ../secrets/services-keys.json;
|
||||||
sops.defaultSopsFormat = "json";
|
sops.defaultSopsFormat = "json";
|
||||||
sops.secrets.service-key = {
|
sops.secrets = {
|
||||||
"sonarr" = { };
|
sonarr = { };
|
||||||
"radarr" = { };
|
radarr = { };
|
||||||
"jellyfin" = { };
|
jellyfin = { };
|
||||||
"jellyseerr" = { };
|
jellyseerr = { };
|
||||||
"pihole" = { };
|
pihole = { };
|
||||||
"transmission" = { };
|
transmission = { };
|
||||||
"prowlarr" = { };
|
prowlarr = { };
|
||||||
"proxmoxPassword" = { };
|
proxmoxPassword = { };
|
||||||
"proxmoxUsername" = { };
|
proxmoxUsername = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
services.homepage-dashboard = {
|
services.homepage-dashboard = {
|
||||||
|
@ -79,7 +79,7 @@ in
|
||||||
widget = {
|
widget = {
|
||||||
type = "jellyfin";
|
type = "jellyfin";
|
||||||
url = "http://${ip}:8096";
|
url = "http://${ip}:8096";
|
||||||
key = config.sops.secrets.service-key."jellyfin";
|
key = config.sops.secrets.jellyfin;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,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.jellyseerr;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,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.readarr;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -139,7 +139,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.prowlarr;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -151,7 +151,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.sonarr;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -162,7 +162,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.radarr;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -216,8 +216,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.proxmoxUsername;
|
||||||
key = config.sops.secrets.service-key."proxmoxPassword";
|
key = config.sops.secrets.proxmoxPassword;
|
||||||
url = "https://${cfg.proxmoxVEIp}:8006";
|
url = "https://${cfg.proxmoxVEIp}:8006";
|
||||||
node = "pve";
|
node = "pve";
|
||||||
};
|
};
|
||||||
|
@ -230,7 +230,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.pihole;
|
||||||
url = "http://${cfg.piholeURL}";
|
url = "http://${cfg.piholeURL}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue