feat: podgrab test

This commit is contained in:
Nick 2025-06-22 12:24:10 -05:00
parent 95d807175d
commit 5a67cda326

View file

@ -11,7 +11,7 @@ in
podgrab = {
enable = true;
port = service.ports.port0;
# passwordFile = config.sops.secrets."${service.name}-pass".path;
passwordFile = config.sops.secrets."${service.name}-pass".path;
dataDirectory = service.paths.path0;
};
caddy = {
@ -30,16 +30,10 @@ in
};
};
environment = {
variables = {
PASSWORD = config.sops.secrets."${service.name}-pass".path;
};
};
sops =
let
sopsPath = secret: {
path = "${service.sops.path0}/${service.name}-${secret}";
path = "${service.sops.path0}/password.env";
owner = service.name;
mode = "600";
};