diff --git a/private.nix b/private.nix index 86fffb9..4944525 100644 --- a/private.nix +++ b/private.nix @@ -40,5 +40,6 @@ ./kitty.nix ./nextcloud.nix ./sway + ./private/ssh.nix ]; } diff --git a/private/ssh.nix b/private/ssh.nix new file mode 100644 index 0000000..0a603ba --- /dev/null +++ b/private/ssh.nix @@ -0,0 +1,19 @@ +{ ... }: + +{ + programs = { + ssh = { + enable = true; + matchBlocks = { + tc-0x = { + host = "tc-*"; + user = "root"; + }; + ed-0x = { + host = "ed-*"; + user = "root"; + }; + }; + }; + }; +}