HandlerOne updates

This commit is contained in:
TheWanderingCrow 2026-02-03 11:24:31 -05:00
parent 251ef33d18
commit 85478b2f6c
2 changed files with 11 additions and 4 deletions

8
flake.lock generated
View file

@ -311,11 +311,11 @@
]
},
"locked": {
"lastModified": 1770051012,
"narHash": "sha256-ySNBSDAO/9AFdQfIJLV7eJsHM9CefkKbPObVgNVBiIk=",
"lastModified": 1770136482,
"narHash": "sha256-fb/Ss7A4bJ1qUMJqZS4H0+0glhat3XfOA+d79R74yvk=",
"ref": "refs/heads/prod",
"rev": "d990703c0decfa6d3b14b4bd07eec705ecab5755",
"revCount": 188,
"rev": "c49388b85342d81286c80459ab699d892301e10d",
"revCount": 189,
"type": "git",
"url": "ssh://git@github.com/TheWanderingCrow/nix-secrets"
},

View file

@ -8,6 +8,10 @@ let
sopsFolder = builtins.toString inputs.nix-secrets + "/sops";
in
{
sops.secrets."pocket-id/encryption_key" = {
sopsFile = "${sopsFolder}/services.yaml";
};
disabledModules = [
"${inputs.nixpkgs}/nixos/modules/services/security/pocket-id.nix"
];
@ -30,5 +34,8 @@ in
APP_URL = "https://auth.wanderingcrow.net";
TRUST_PROXY = true;
};
credentials = {
ENCRYPTION_KEY = config.sops.secrets."pocket-id/encryption_key".path;
};
};
}