From 6771b74180157e408edba8071cdcc5f49e8f32b2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 3 Jan 2021 15:24:44 +0100 Subject: home-manager tweaks --- accounts/root@sif.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 accounts/root@sif.nix (limited to 'accounts/root@sif.nix') diff --git a/accounts/root@sif.nix b/accounts/root@sif.nix new file mode 100644 index 00000000..979463ba --- /dev/null +++ b/accounts/root@sif.nix @@ -0,0 +1,18 @@ +{ userName, ... }: +{ + home-manager.users.${userName} = { + programs.ssh.matchBlocks = { + "git.yggdrasil.li" = { + user = "gitolite"; + identityFile = "~/.ssh/sysconf"; + }; + "borg.munin" = { + hostname = "u120515.your-storagebox.de"; + user = "u120515"; + identityFile = "~/.ssh/borg.munin"; + identitiesOnly = true; + port = 23; + }; + }; + }; +} -- cgit v1.2.3