diff options
Diffstat (limited to 'machines')
-rw-r--r-- | machines/dragon.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/machines/dragon.nix b/machines/dragon.nix index 5005619..a7ae3ad 100644 --- a/machines/dragon.nix +++ b/machines/dragon.nix @@ -145,15 +145,13 @@ in # Required to enable password authentication for one user. security.pam.services.sshd.unixAuth = lib.mkForce true; - services = { - openssh = { - enable = lib.mkDefault true; - passwordAuthentication = false; - extraConfig = '' - Match User readonly - PasswordAuthentication yes - ''; - }; + services.openssh = { + enable = lib.mkDefault true; + passwordAuthentication = false; + extraConfig = '' + Match User readonly + PasswordAuthentication yes + ''; }; fileSystems = { |