From a3778e547e13c1e0b6b4d1d75a4c2cc700773982 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Wed, 26 Feb 2020 20:28:57 -0500 Subject: Fix broken dragon --- machines/dragon.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'machines/dragon.nix') 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 = { -- cgit v1.2.3