mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-07-05 10:55:01 -05:00
feat: podgrab test
This commit is contained in:
parent
95d807175d
commit
5a67cda326
1 changed files with 2 additions and 8 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue