nixos/forgejo: fix typo in builtin ssh server conditional

This conditional was introduced in 402b5c67a8
and is supposed to check for `server.START_SSH_SERVER` but instead
checked for `START_SSH_SERVER`.

Co-Authored-By: Pyrox <pyrox@pyrox.dev>
This commit is contained in:
emilylange
2024-12-12 21:11:30 +01:00
co-authored by Pyrox
parent 665063ca71
commit ecd595ef80
+3 -1
View File
@@ -789,7 +789,9 @@ in
} // lib.listToAttrs (map (e: lib.nameValuePair e.env "%d/${e.env}") secrets);
};
services.openssh.settings.AcceptEnv = mkIf (!cfg.settings.START_SSH_SERVER or false) "GIT_PROTOCOL";
services.openssh.settings.AcceptEnv = mkIf (
!cfg.settings.server.START_SSH_SERVER or false
) "GIT_PROTOCOL";
users.users = mkIf (cfg.user == "forgejo") {
forgejo = {