nixpkgs/nixos
Jacob Greenleaf 0111e9547e 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`.
2022-12-04 19:57:41 -08:00
..
doc nixos/borgbackup: Add option for inhibiting sleep 2022-12-04 19:57:41 -08:00
lib test-driver: Allow configuring delay for send_{key,chars} 2022-11-19 06:55:25 +01:00
maintainers nixos/ec2: remove paravirtualization-specific code 2022-11-23 17:18:18 +01:00
modules nixos/borgbackup: Add option for inhibiting sleep 2022-12-04 19:57:41 -08:00
tests nixos/borgbackup: Add option for inhibiting sleep 2022-12-04 19:57:41 -08:00
COPYING
default.nix
README
release-combined.nix Merge pull request #197254 from Atemu/fstab-escape-options 2022-11-19 18:08:40 +01:00
release-small.nix nixos/release: add acme to tested set 2022-10-25 07:22:27 +10:00
release.nix nixos/release-combined: Build graphical ISOs for aarch64-linux 2022-10-11 15:33:41 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.