aboutsummaryrefslogtreecommitdiff
path: root/home/mun/programs/ssh.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-03-30 20:46:26 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-03-30 20:46:26 +0200
commit67e324107e05f3245ddac034607afd0e1dea478f (patch)
treed14a4b6e98fc707c72e24f0879b0e4297aaad78f /home/mun/programs/ssh.nix
parent2316eab54de77c351e88c5657eeaaa703ff4c498 (diff)
Refactored the entire configuration
Diffstat (limited to 'home/mun/programs/ssh.nix')
-rw-r--r--home/mun/programs/ssh.nix17
1 files changed, 17 insertions, 0 deletions
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";
+ };
+ };
+ };
+}