From 642709d33dcefb45c1ce27b2c8f65f8a8aafccdd Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 8 Apr 2025 22:14:47 +0200 Subject: [PATCH] feat: add private ssh host config --- private.nix | 1 + private/ssh.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 private/ssh.nix 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"; + }; + }; + }; + }; +}