summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorDavHau <hsngrmpf+github@gmail.com>2024-05-26 18:46:22 +0200
committerDavHau <hsngrmpf+github@gmail.com>2024-05-26 18:46:27 +0200
commit3fe773a17452ecb0d5ca7379e33cfbd6924a52b5 (patch)
tree30f294c689c1bf9593d46783d93c0dca904b369c /pkgs/development/python-modules/rangehttpserver
parent92416bb8d9d60d025cc7282f685a2296f5a37da0 (diff)
nixos/openssh: allow removing settings
# Motivation So far it was not possible to configure sshd to allow password authentication only for a specific user. This is because in the generated config a `Match User xxx` section would be required before the global `PasswordAuthentication` is defined, as otherwise the global option always takes precedence. The same problem occurs with multiple other options under `settings`. # Done This PR fixes that issue for all settings by simply allowing them to be overridden with `null`, which leads to a removal of that setting from the config. The user can then correctly configure user specific settings using extraConfig, like this: ``` Match User user1 PasswordAuthentication yes Match all PasswordAuthentication no ```
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions