Fix wants

This commit is contained in:
Torjus Håkestad 2024-06-02 22:17:33 +02:00
parent 3023fd2aff
commit 5674e35d2d

View File

@ -46,7 +46,7 @@ in
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
systemd.services."backup-helper@" = { systemd.services."backup-helper@" = {
after = "network-online.target"; after = [ "network-online.target" ];
environment = { environment = {
RESTIC_REPOSITORY = cfg.restic-repository; RESTIC_REPOSITORY = cfg.restic-repository;
} // lib.attrsets.optionalAttrs (builtins.hasAttr "password-file" cfg) { } // lib.attrsets.optionalAttrs (builtins.hasAttr "password-file" cfg) {