Fix wants
This commit is contained in:
parent
3023fd2aff
commit
5674e35d2d
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user