From 73490df322f7272068e752715b1747939d115b6e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 29 Apr 2023 17:11:31 -0700 Subject: modules/backup: add a module for rsync The NAS will rsync all the backups to rsync.net. This new module creates a systemd unit and timer to do this task. --- modules/services/backup/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/services/backup/default.nix') diff --git a/modules/services/backup/default.nix b/modules/services/backup/default.nix index 3481f3f..c9cce53 100644 --- a/modules/services/backup/default.nix +++ b/modules/services/backup/default.nix @@ -7,6 +7,8 @@ let + (writeText "excludes.txt" (concatStringsSep "\n" cfg.exclude)); in { + imports = [ ./rsync.nix ]; + options.my.services.backup = with lib; { enable = mkEnableOption "Enable backups for this host"; -- cgit v1.2.3