aboutsummaryrefslogtreecommitdiff
path: root/modules/services/backup/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-12 11:23:15 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-12 11:24:09 -0700
commit70481fab46f4ef07f0638f9c03a0f6a7f98324de (patch)
tree0b4f74537f98628b82427c0a0fe7d6b87f04b63f /modules/services/backup/default.nix
parentops: remove everything under ops (diff)
downloadinfra-70481fab46f4ef07f0638f9c03a0f6a7f98324de.tar.gz
profiles/backup: configure the backup server
It creates the user, ensure sftp is configured correctly, and rsync the backups to rsync.net once a day.
Diffstat (limited to '')
-rw-r--r--modules/services/backup/default.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/services/backup/default.nix b/modules/services/backup/default.nix
index c9cce53..3481f3f 100644
--- a/modules/services/backup/default.nix
+++ b/modules/services/backup/default.nix
@@ -7,8 +7,6 @@ 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";