feat: Disable ssh enableDefaultConfig
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
}: {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = false;
|
||||
matchBlocks = {
|
||||
tsuba = {
|
||||
user = "servius";
|
||||
@@ -45,13 +46,13 @@
|
||||
hostname = "steamdeck";
|
||||
forwardAgent = true;
|
||||
};
|
||||
# "*" = {
|
||||
# forwardAgent = false;
|
||||
# addKeysToAgent = "no";
|
||||
# # compression = true;
|
||||
# # HashKnownHosts = "no";
|
||||
# serverAliveInterval = 60;
|
||||
# };
|
||||
"*" = {
|
||||
forwardAgent = false;
|
||||
addKeysToAgent = "no";
|
||||
# compression = true;
|
||||
# HashKnownHosts = "no";
|
||||
serverAliveInterval = 60;
|
||||
};
|
||||
};
|
||||
extraConfig =
|
||||
lib.strings.optionalString (pkgs.stdenv.isDarwin && !device.isServer)
|
||||
|
||||
Reference in New Issue
Block a user