From 5a67cda326fedafb31998b703bf71bcbc8d516ce Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 22 Jun 2025 12:24:10 -0500 Subject: [PATCH] feat: podgrab test --- modules/nixos/services/podgrab/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/modules/nixos/services/podgrab/default.nix b/modules/nixos/services/podgrab/default.nix index 4d6a9c9..82a5b95 100644 --- a/modules/nixos/services/podgrab/default.nix +++ b/modules/nixos/services/podgrab/default.nix @@ -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"; };