mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-09 18:26:54 +00:00
Instead of having to manually stub packages that should not be downloaded we instead automatically stub all packages (except a small list of whitelisted ones). Tests can re-introduce the real package by using the `realPkgs` module argument.
23 lines
519 B
Desktop File
23 lines
519 B
Desktop File
[Service]
|
|
ExecStart=@systemd@/bin/systemd-inhibit \
|
|
--who="borgmatic" \
|
|
--what="sleep:shutdown" \
|
|
--why="Prevent interrupting scheduled backup" \
|
|
@borgmatic@/bin/borgmatic \
|
|
--stats \
|
|
--verbosity -1 \
|
|
--list \
|
|
--syslog-verbosity 1
|
|
|
|
ExecStartPre=/nix/store/00000000000000000000000000000000-coreutils/bin/sleep 3m
|
|
IOSchedulingClass=best-effort
|
|
IOSchedulingPriority=7
|
|
IOWeight=100
|
|
LogRateLimitIntervalSec=0
|
|
Nice=19
|
|
Restart=no
|
|
Type=oneshot
|
|
|
|
[Unit]
|
|
ConditionACPower=true
|
|
Description=borgmatic backup
|