mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
yodaHedgehog: backup service
This commit is contained in:
parent
7f52e693a6
commit
9373c2c949
@ -43,6 +43,11 @@ in
|
||||
};
|
||||
};
|
||||
systemd.services."daily-backup-and-suspend" = {
|
||||
# If the system wakes up at 00:05, it is not directly connected to the Internet.
|
||||
# Thus, `btrbk` might fail with the following error while connecting to `rootNas`:
|
||||
# ssh: Could not resolve hostname p1st.de: Name or service not known
|
||||
# To avoid this, we depend on the `network-online` systemd target.
|
||||
after = [ "network-online.target" ];
|
||||
# Packages required for this script.
|
||||
# For `ssh` and `journalwatch`, there are assertions above.
|
||||
path = with pkgs; [
|
||||
|
Loading…
Reference in New Issue
Block a user