From 2761496399b619576422f5da300bd79b67bb3d54 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Fri, 19 Jan 2024 01:00:20 +0100 Subject: [PATCH] And remove the other gitea user definitions (I think the old db dump might have caused this?) --- nixos/server/package-configs/forgejo/configuration.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/server/package-configs/forgejo/configuration.nix b/nixos/server/package-configs/forgejo/configuration.nix index f0de946..41f5d63 100644 --- a/nixos/server/package-configs/forgejo/configuration.nix +++ b/nixos/server/package-configs/forgejo/configuration.nix @@ -21,13 +21,13 @@ # }; #}; - sops.secrets."mailpassunhash".mode = "0440"; - sops.secrets."mailpassunhash".owner = config.users.users.virtualMail.name; + #sops.secrets."mailpassunhash".mode = "0440"; + #sops.secrets."mailpassunhash".owner = config.users.users.virtualMail.name; services.forgejo = { enable = true; - user = "gitea"; - group = "gitea"; + #user = "gitea"; + #group = "gitea"; stateDir = "/var/lib/gitea"; #TODO: different mail passwords for different services mailerPasswordFile = config.sops.secrets."mailpassunhash".path;