some updates

This commit is contained in:
gwg313 2025-04-08 14:38:09 -04:00
parent 1b8687a703
commit a1874a4daf
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
5 changed files with 8 additions and 27 deletions

View file

@ -3,7 +3,8 @@
lib, lib,
user, user,
... ...
}: { }:
{
options = { options = {
ssh.enable = lib.mkEnableOption "enable ssh settings"; ssh.enable = lib.mkEnableOption "enable ssh settings";
}; };
@ -45,7 +46,7 @@
########## Authentication ########## ########## Authentication ##########
AllowUsers = ["${user}"]; AllowUsers = [ "${user}" ];
# Use keys only. Remove if you want to SSH using password (not recommended) # Use keys only. Remove if you want to SSH using password (not recommended)
PasswordAuthentication = false; PasswordAuthentication = false;
@ -145,6 +146,10 @@
########## Connection Preferences ########## ########## Connection Preferences ##########
# disable reverse DNS lookups # disable reverse DNS lookups
UseDNS no UseDNS no
########## Disable GSS ##########
GSSAPIAuthentication no
''; '';
}; };
}; };

View file

@ -50,7 +50,6 @@
# disable unnecessary authentication methods # disable unnecessary authentication methods
ChallengeResponseAuthentication no ChallengeResponseAuthentication no
GSSAPIAuthentication no
HostbasedAuthentication no HostbasedAuthentication no
# define authentication methods to be used # define authentication methods to be used

View file

@ -20,7 +20,7 @@ in
./animations.nix ./animations.nix
./bindings.nix ./bindings.nix
./polkitagent.nix ./polkitagent.nix
./hyprspace.nix # ./hyprspace.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [

View file

@ -62,18 +62,6 @@
}; };
}; };
}; };
"ssh-keys" = {
path = "/home/gwg313/.ssh";
devices = [ "grymforge" ];
versioning = {
type = "staggered";
params = {
cleanInterval = "3600";
maxAge = "15768000";
};
};
};
}; };
}; };
}; };

View file

@ -62,17 +62,6 @@
}; };
}; };
}; };
"ssh-keys" = {
path = "/home/gwg313/.ssh";
devices = [ "candlekeep" ];
versioning = {
type = "staggered";
params = {
cleanInterval = "3600";
maxAge = "15768000";
};
};
};
}; };
}; };
}; };