From 67e324107e05f3245ddac034607afd0e1dea478f Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 30 Mar 2026 20:46:26 +0200 Subject: Refactored the entire configuration --- home/mun/programs/ssh.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 home/mun/programs/ssh.nix (limited to 'home/mun/programs/ssh.nix') diff --git a/home/mun/programs/ssh.nix b/home/mun/programs/ssh.nix new file mode 100644 index 0000000..7d13317 --- /dev/null +++ b/home/mun/programs/ssh.nix @@ -0,0 +1,17 @@ +{...}: { + programs.ssh = { + enable = true; + enableDefaultConfig = false; + matchBlocks = { + "*" = { + addKeysToAgent = "yes"; + forwardAgent = false; + }; + "cgit" = { + user = "git"; + hostname = "cgit"; + identityFile = "~/.ssh/cgit"; + }; + }; + }; +} -- cgit v1.2.3