diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2023-02-15 22:02:27 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2023-02-15 22:02:27 +0100 |
| commit | b6ab147459df0052cc685b7e58857599b3c01fe1 (patch) | |
| tree | 85e8fd118547a06cfc3a201f3363d5d84c433d88 | |
| parent | 2406b394c050a7e5da63fd44faf40203c874e22c (diff) | |
ssh: rename options
| -rw-r--r-- | config/networking.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/networking.nix b/config/networking.nix index decd84e..18f38c3 100644 --- a/config/networking.nix +++ b/config/networking.nix @@ -21,8 +21,10 @@ services.openssh = { enable = true; - permitRootLogin = "no"; - passwordAuthentication = false; + settings = { + permitRootLogin = "no"; + passwordAuthentication = false; + }; extraConfig = '' AcceptEnv PS1 ''; |
