diff options
| author | Dominik Kaiser | 2025-02-16 11:56:28 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-02-16 11:56:28 +0100 |
| commit | 92903bc542d5ed9871e83c93369763941361b36e (patch) | |
| tree | 5b413a74931646ad94bc4bda337c861560e7d9b3 /hosts/antares/configuration.nix | |
| parent | 6dfb9c4eb46ffda2b8c49a40f6b0b95c5f2adc95 (diff) | |
| download | nixos-92903bc542d5ed9871e83c93369763941361b36e.tar.gz nixos-92903bc542d5ed9871e83c93369763941361b36e.zip | |
Update ssh settings on antares
Diffstat (limited to 'hosts/antares/configuration.nix')
| -rw-r--r-- | hosts/antares/configuration.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hosts/antares/configuration.nix b/hosts/antares/configuration.nix index 8d7be14..2127d01 100644 --- a/hosts/antares/configuration.nix +++ b/hosts/antares/configuration.nix @@ -18,8 +18,10 @@ }; services.openssh = { enable = true; - passwordAuthentication = false; - permitRootLogin = false; + settings = { + PasswordAuthentication = false; + PermitRootLogin = "no"; + }; }; networking.hostName = "antares"; |
