some updates
This commit is contained in:
parent
1b8687a703
commit
a1874a4daf
5 changed files with 8 additions and 27 deletions
|
|
@ -3,7 +3,8 @@
|
|||
lib,
|
||||
user,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
options = {
|
||||
ssh.enable = lib.mkEnableOption "enable ssh settings";
|
||||
};
|
||||
|
|
@ -45,7 +46,7 @@
|
|||
|
||||
########## Authentication ##########
|
||||
|
||||
AllowUsers = ["${user}"];
|
||||
AllowUsers = [ "${user}" ];
|
||||
|
||||
# Use keys only. Remove if you want to SSH using password (not recommended)
|
||||
PasswordAuthentication = false;
|
||||
|
|
@ -145,6 +146,10 @@
|
|||
########## Connection Preferences ##########
|
||||
# disable reverse DNS lookups
|
||||
UseDNS no
|
||||
|
||||
########## Disable GSS ##########
|
||||
|
||||
GSSAPIAuthentication no
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@
|
|||
|
||||
# disable unnecessary authentication methods
|
||||
ChallengeResponseAuthentication no
|
||||
GSSAPIAuthentication no
|
||||
HostbasedAuthentication no
|
||||
|
||||
# define authentication methods to be used
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ in
|
|||
./animations.nix
|
||||
./bindings.nix
|
||||
./polkitagent.nix
|
||||
./hyprspace.nix
|
||||
# ./hyprspace.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
|||
|
|
@ -62,18 +62,6 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
"ssh-keys" = {
|
||||
path = "/home/gwg313/.ssh";
|
||||
devices = [ "grymforge" ];
|
||||
versioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
cleanInterval = "3600";
|
||||
maxAge = "15768000";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -62,17 +62,6 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
"ssh-keys" = {
|
||||
path = "/home/gwg313/.ssh";
|
||||
devices = [ "candlekeep" ];
|
||||
versioning = {
|
||||
type = "staggered";
|
||||
params = {
|
||||
cleanInterval = "3600";
|
||||
maxAge = "15768000";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue