From 20843a943be83369fab320a1272b5d509874d07f Mon Sep 17 00:00:00 2001 From: winston Date: Thu, 19 Sep 2024 00:19:44 +0200 Subject: [PATCH] fix: move stuff around after hardening security --- config/network.nix | 2 +- config/users.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/network.nix b/config/network.nix index 239dd8f..1334b42 100644 --- a/config/network.nix +++ b/config/network.nix @@ -11,12 +11,12 @@ openFirewall = true; allowSFTP = false; - challengeResponseAuthentication = false; settings = { AllowAgentForwarding = false; AllowStreamLocalForwarding = false; AllowTcpForwarding = true; AuthenticationMethods = "publickey"; + KbdInteractiveAuthentication = false; KexAlgorithms = [ "curve25519-sha256" "curve25519-sha256@libssh.org" diff --git a/config/users.nix b/config/users.nix index 62e0dd4..89f2bf3 100644 --- a/config/users.nix +++ b/config/users.nix @@ -38,7 +38,7 @@ in home-manager = { useGlobalPkgs = true; useUserPackages = true; - users.winston = { + users.root = { home.stateVersion = "23.11"; programs = {