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