fix: move stuff around after hardening security

This commit is contained in:
winston 2024-09-19 00:19:44 +02:00
parent e94b793bc7
commit 20843a943b
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 2 additions and 2 deletions

View file

@ -11,12 +11,12 @@
openFirewall = true; openFirewall = true;
allowSFTP = false; allowSFTP = false;
challengeResponseAuthentication = false;
settings = { settings = {
AllowAgentForwarding = false; AllowAgentForwarding = false;
AllowStreamLocalForwarding = false; AllowStreamLocalForwarding = false;
AllowTcpForwarding = true; AllowTcpForwarding = true;
AuthenticationMethods = "publickey"; AuthenticationMethods = "publickey";
KbdInteractiveAuthentication = false;
KexAlgorithms = [ KexAlgorithms = [
"curve25519-sha256" "curve25519-sha256"
"curve25519-sha256@libssh.org" "curve25519-sha256@libssh.org"

View file

@ -38,7 +38,7 @@ in
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
users.winston = { users.root = {
home.stateVersion = "23.11"; home.stateVersion = "23.11";
programs = { programs = {