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,
|
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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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; [
|
||||||
|
|
|
||||||
|
|
@ -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