3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
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
..
config nixos/user-groups: remove unnecessary parentheses 2022-11-30 17:58:55 -05:00
hardware treewide: use mkEnableOption in nixos modules 2022-11-10 09:30:00 +01:00
i18n/input-method
installer nixos/nix-fallback-paths: 2.11.0 -> 2.11.1 2022-12-01 12:32:15 +10:00
misc Merge pull request #203826 from figsoda/lint 2022-12-01 11:20:11 -05:00
profiles Merge pull request #203826 from figsoda/lint 2022-12-01 11:20:11 -05:00
programs Merge pull request #202734 from jmbaur/flashrom-package-option 2022-11-24 20:13:59 -03:00
security Merge pull request #199587 from lorenz/fscrypt 2022-11-14 09:42:35 +01:00
services nixos/borgbackup: Add option for inhibiting sleep 2022-12-04 19:57:41 -08:00
system nixos: nix.readOnlyStore -> boot.readOnlyNixStore 2022-11-30 22:57:08 -05:00
tasks Merge pull request #117371 from grahamc/sysctl-hostname 2022-12-01 16:03:04 +01:00
testing
virtualisation Merge pull request #189935 from baloo/baloo/qemu-vm/fixup-efi-partitions 2022-12-01 15:16:23 +01:00
module-list.nix Merge pull request #195735 from hax404/tayga_init 2022-12-01 21:14:50 +01:00
rename.nix