fix ssh url

This commit is contained in:
xyno (Philipp Hochkamp) 2023-09-16 16:22:56 +02:00
parent c5ee7d11e0
commit af77965d9d
2 changed files with 9 additions and 2 deletions

View file

@ -137,6 +137,7 @@ in
group = "users";
uid = 993;
home = "/backups/picard";
shell = "/run/current-system/sw/bin/bash";
isSystemUser = true;
openssh.authorizedKeys.keys = [
''command="${pkgs.borgbackup}/bin/borg serve --restrict-to-path /backups/picard/",restrict ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHvCF8KGgpF9O8Q7k+JXqZ5eMeEeTaMhCIk/2ZFOzXL0''