try to only run restic on AC power
This commit is contained in:
parent
e040baa6ef
commit
cd6320bfe7
|
@ -19,6 +19,7 @@ in
|
|||
};
|
||||
|
||||
systemd.services."restic-backups-${custom.username}" = {
|
||||
unitConfig.ConditionACPower = true;
|
||||
serviceConfig = {
|
||||
User = custom.username;
|
||||
Type = "oneshot";
|
||||
|
|
Loading…
Reference in New Issue