mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(restic): depend on connection to retiolum
This commit is contained in:
@@ -21,6 +21,8 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
systemd.services.restic-backups-niveum.requires = [ "tinc.retiolum.service" ];
|
||||
|
||||
environment.systemPackages = [
|
||||
(pkgs.writers.writeDashBin "restic-niveum" ''
|
||||
${pkgs.restic}/bin/restic -r ${restic.repository} -p ${<secrets/restic/password>} "$@"
|
||||
|
||||
Reference in New Issue
Block a user