diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index 9b6d4c1..8cc4ed1 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -10,13 +10,23 @@ "10.0.0.183" = [ "headscale.nickiel.net" ]; "100.64.0.1" = ["files.nickiel.net" "git.nickiel.net" "nickiel.net" "jellyfin.nickiel.net" ]; }; - services.tailscale.enable = true; networking.firewall = { checkReversePath = "loose"; trustedInterfaces = [ "tailscale0" ]; allowedUDPPorts = [ config.services.tailscale.port ]; }; + services = { + tailscale.enable = true; + sshd.enable = true; + openssh.settings = { + PasswordAuthentication = false; + PermitRootLogin = "no"; + X11Forwarding = true; + }; + }; + systemd.services.sshd.wantedBy = [ "multi-user.target" ]; + services.xserver.videoDrivers = [ "nvidia" ]; hardware.opengl.enable = true;