diff options
author | imlonghao <git@imlonghao.com> | 2023-04-17 23:10:23 +0800 |
---|---|---|
committer | imlonghao <git@imlonghao.com> | 2023-04-17 23:10:23 +0800 |
commit | bc07f0ac318f53753aca2efc8e568d0b8ec77d22 (patch) | |
tree | a0b1704a87c057a0b847dd0b9381e304ae50dbbd /nixos/modules/services/backup | |
parent | 061715af6da2a938dab3b645c33c3fa2415ca9d6 (diff) |
borgmatic: fix timer wantedBy
Diffstat (limited to 'nixos/modules/services/backup')
-rw-r--r-- | nixos/modules/services/backup/borgmatic.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/backup/borgmatic.nix b/nixos/modules/services/backup/borgmatic.nix index e7cd6ae4bb573..5ee036e68c7bc 100644 --- a/nixos/modules/services/backup/borgmatic.nix +++ b/nixos/modules/services/backup/borgmatic.nix @@ -72,5 +72,8 @@ in cfg.configurations; systemd.packages = [ pkgs.borgmatic ]; + + # Workaround: https://github.com/NixOS/nixpkgs/issues/81138 + systemd.timers.borgmatic.wantedBy = [ "timers.target" ]; }; } |