summaryrefslogtreecommitdiff
path: root/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'accounts')
-rw-r--r--accounts/root@vidhar.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/accounts/root@vidhar.nix b/accounts/root@vidhar.nix
index ad30cffb..0b5fb6ec 100644
--- a/accounts/root@vidhar.nix
+++ b/accounts/root@vidhar.nix
@@ -1,11 +1,17 @@
1{ userName, ... }: 1{ config, userName, ... }:
2{ 2{
3 home-manager.users.${userName} = { 3 home-manager.users.${userName} = {
4 programs.ssh.matchBlocks = { 4 programs.ssh.matchBlocks = {
5 "yggdrasil.borgbase" = 5 "yggdrasil.borgbase" =
6 { hostname = "nx69hpl8.repo.borgbase.com"; 6 { hostname = "nx69hpl8.repo.borgbase.com";
7 user = "nx69hpl8"; 7 user = "nx69hpl8";
8 identityFile = "~/.ssh/append.borgbase"; 8 identityFile = config.sops.secrets."append.borgbase".path;
9 identitiesOnly = true;
10 serverAliveInterval = 10;
11 serverAliveCountMax = 30;
12 extraOptions = {
13 BatchMode = "yes";
14 };
9 }; 15 };
10 }; 16 };
11 }; 17 };