0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

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-09 18:36:51 +01:00
parent 665063ca71
commit ecd595ef80
No known key found for this signature in database
GPG key ID: 0AD773CE46FD0F87

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 = {