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:
parent
665063ca71
commit
ecd595ef80
1 changed files with 3 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue