kommode/gitea: add restartUnits for some sops secrets

This commit is contained in:
h7x4
2025-12-22 15:20:56 +09:00
parent 9b22b53e95
commit 4f24217bef
2 changed files with 2 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ in {
defaultConfig = {
owner = "gitea";
group = "gitea";
restartUnits = [ "gitea.service" ];
};
in {
"gitea/database" = defaultConfig;

View File

@@ -7,6 +7,7 @@ in
sops.secrets."gitea/gpg-signing-key" = {
owner = cfg.user;
inherit (cfg) group;
restartUnits = [ "gitea.service" ];
};
systemd.services.gitea.environment = { inherit GNUPGHOME; };