diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2023-02-17 22:57:04 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2023-02-17 22:57:04 +0100 |
| commit | 2e2052574de88e9f6e2c932773bc66aa593a6ff3 (patch) | |
| tree | 22931df211513e71459f0d63661f08394fb8d6b4 /modules/nixos/personal/networking.nix | |
| parent | 139504f4ae2ba0cbcad6d1dd93d18c881a0d6b6b (diff) | |
modules: networking fix ssh
Diffstat (limited to 'modules/nixos/personal/networking.nix')
| -rw-r--r-- | modules/nixos/personal/networking.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/nixos/personal/networking.nix b/modules/nixos/personal/networking.nix index 2b853de..0c9c3a7 100644 --- a/modules/nixos/personal/networking.nix +++ b/modules/nixos/personal/networking.nix @@ -47,8 +47,10 @@ in { services = lib.mkIf cfg.ssh.enable { openssh = { enable = true; - permitRootLogin = "no"; - passwordAuthentication = false; + settings = { + PermitRootLogin = "no"; + PasswordAuthentication = false; + }; extraConfig = '' AcceptEnv PS1 ''; |
