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