diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-01 00:50:04 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-01 00:50:04 +0100 |
commit | 15a6796b118e23908fc4aca95ad6ca30552ae2ee (patch) | |
tree | c5d3ea4afa16a4fb3cd19fea61ed10c67ace37be | |
parent | Misc: Fix Non-NixOS updating instructions (diff) | |
download | nixos-config-15a6796b118e23908fc4aca95ad6ca30552ae2ee.tar.gz nixos-config-15a6796b118e23908fc4aca95ad6ca30552ae2ee.tar.bz2 nixos-config-15a6796b118e23908fc4aca95ad6ca30552ae2ee.zip |
Misc: Change openssh config syntax to conform to new standard
-rw-r--r-- | hosts/configuration.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 0772942..d8fdc0b 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -141,8 +141,10 @@ services = { openssh = { enable = true; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; + settings = { + passwordAuthentication = false; + kbdInteractiveAuthentication = false; + }; listenAddresses = [{ addr = "0.0.0.0"; port = 22; |