mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-12-23 01:37:14 +01:00
kommode/gitea: add restartUnits for some sops secrets
This commit is contained in:
@@ -15,6 +15,7 @@ in {
|
|||||||
defaultConfig = {
|
defaultConfig = {
|
||||||
owner = "gitea";
|
owner = "gitea";
|
||||||
group = "gitea";
|
group = "gitea";
|
||||||
|
restartUnits = [ "gitea.service" ];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
"gitea/database" = defaultConfig;
|
"gitea/database" = defaultConfig;
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ in
|
|||||||
sops.secrets."gitea/gpg-signing-key" = {
|
sops.secrets."gitea/gpg-signing-key" = {
|
||||||
owner = cfg.user;
|
owner = cfg.user;
|
||||||
inherit (cfg) group;
|
inherit (cfg) group;
|
||||||
|
restartUnits = [ "gitea.service" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.gitea.environment = { inherit GNUPGHOME; };
|
systemd.services.gitea.environment = { inherit GNUPGHOME; };
|
||||||
|
|||||||
Reference in New Issue
Block a user