vno3-nk: add borgstor

This commit is contained in:
2024-12-06 07:44:33 +02:00
parent afb31e9419
commit de4581a6fc
2 changed files with 10 additions and 1 deletions

View File

@@ -21,7 +21,7 @@
shell = "/bin/sh";
group = "borgstor";
isSystemUser = true;
createHome = false;
createHome = true;
uid = myData.uidgid.borgstor;
openssh.authorizedKeys.keys = map (
k: ''command="${pkgs.borgbackup}/bin/borg serve --restrict-to-path ${dataDir}",restrict ${k}''