diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-06 22:19:15 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-06 22:19:15 +0100 |
commit | fc4cbfdc1038c7b0a5e4c64eb48071ba23823579 (patch) | |
tree | be491b9211544eef6e8917512e953d1f56728175 /hosts/vidhar/borg/default.nix | |
parent | 49e21160387dcfd398c2a39c17578e67ad9f26e3 (diff) | |
download | nixos-fc4cbfdc1038c7b0a5e4c64eb48071ba23823579.tar nixos-fc4cbfdc1038c7b0a5e4c64eb48071ba23823579.tar.gz nixos-fc4cbfdc1038c7b0a5e4c64eb48071ba23823579.tar.bz2 nixos-fc4cbfdc1038c7b0a5e4c64eb48071ba23823579.tar.xz nixos-fc4cbfdc1038c7b0a5e4c64eb48071ba23823579.zip |
...
Diffstat (limited to 'hosts/vidhar/borg/default.nix')
-rw-r--r-- | hosts/vidhar/borg/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/vidhar/borg/default.nix b/hosts/vidhar/borg/default.nix index d338dfd6..3558a421 100644 --- a/hosts/vidhar/borg/default.nix +++ b/hosts/vidhar/borg/default.nix | |||
@@ -16,6 +16,8 @@ with lib; | |||
16 | ${pkgs.findutils}/bin/find /srv/backup/borg -maxdepth 1 -type d -empty -delete | 16 | ${pkgs.findutils}/bin/find /srv/backup/borg -maxdepth 1 -type d -empty -delete |
17 | ''; | 17 | ''; |
18 | 18 | ||
19 | users.users.borg.extraGroups = ["ssh"]; | ||
20 | |||
19 | services.openssh.extraConfig = '' | 21 | services.openssh.extraConfig = '' |
20 | Match User borg | 22 | Match User borg |
21 | ClientAliveInterval 10 | 23 | ClientAliveInterval 10 |