From fc4cbfdc1038c7b0a5e4c64eb48071ba23823579 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 6 Feb 2022 22:19:15 +0100 Subject: ... --- hosts/vidhar/borg/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hosts/vidhar/borg') 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; ${pkgs.findutils}/bin/find /srv/backup/borg -maxdepth 1 -type d -empty -delete ''; + users.users.borg.extraGroups = ["ssh"]; + services.openssh.extraConfig = '' Match User borg ClientAliveInterval 10 -- cgit v1.2.3