24 current 2025-10-07 14:53:20 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -27,6 +27,11 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf (cfg.enable && backup_paths != []) {
|
config = lib.mkIf (cfg.enable && backup_paths != []) {
|
||||||
|
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d ${cfg.repo} 0755 root root"
|
||||||
|
];
|
||||||
|
|
||||||
systemd.services.backups = {
|
systemd.services.backups = {
|
||||||
description = "backup service with borg!";
|
description = "backup service with borg!";
|
||||||
path = [ pkgs.borgbackup ];
|
path = [ pkgs.borgbackup ];
|
||||||
|
|||||||
Reference in New Issue
Block a user