From 705d3298aedf51568d933cab08cdbe13b60bdf2b Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Mon, 8 May 2023 21:08:38 +0100 Subject: [PATCH] Add sshd to desktop profile --- hosts/desktop.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hosts/desktop.nix b/hosts/desktop.nix index efcf6bc..0127be0 100644 --- a/hosts/desktop.nix +++ b/hosts/desktop.nix @@ -21,11 +21,11 @@ with lib.my; console.keyMap = "uk"; services.printing.enable = true; - services.tailscale.enable = true; - networking.firewall = { - checkReversePath = "loose"; - trustedInterfaces = [ "tailscale0" ]; - allowedUDPPorts = [ config.services.tailscale.port ]; + services.openssh = { + enable = true; + passwordAuthentication = false; + permitRootLogin = "no"; + startWhenNeeded = true; }; sound.enable = true;