diff options
| author | Jacob Greenleaf <jacob@jacobgreenleaf.com> | 2022-10-27 19:57:28 -0700 |
|---|---|---|
| committer | Jacob Greenleaf <jacob@jacobgreenleaf.com> | 2022-12-04 19:57:41 -0800 |
| commit | 0111e9547e857021a3cdab7ac5ba85707cccd654 (patch) | |
| tree | 198e946914c2ef32cfcf177b39b25fcff6d0d384 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 9063accddd2e68dcc71032459a58399e977374c9 (diff) | |
nixos/borgbackup: Add option for inhibiting sleep
Adds a new option for backup jobs `inhibitsSleep` which prevents
the system from going to sleep while a backup is in progress.
Uses `systemd-inhibit`, which holds a "lock" that prevents the
system from sleeping while the process it invokes is running.
This did require wrapping the existing backup script using
`writeShellScript` so that it could be run by `systemd-inhibit`.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
