Go to file
2025-01-27 22:59:26 +01:00
backup.nix Attempt to support backing up commands 2025-01-27 22:34:13 +01:00
backup.sh Improve printing 2025-01-27 22:59:26 +01:00
flake.lock Add flake.lock 2024-06-02 21:43:34 +02:00
flake.nix Format flake.nix 2025-01-27 22:35:16 +01:00
README.md Update README 2024-10-04 01:27:25 +02:00

backup-helper

Small NixOS module to do backups to my NAS.

Usage example

# Example uses sops to store repo password
sops.secrets."backup_helper_secret" = { };
backup-helper = {
  enable = true;
  password-file = "/run/secrets/backup_helper_secret";
  # Dirs to backup
  backup-dirs = [
    "/var/lib/important-data"
    "/home/user/stuff"
  ];
};

See this for all options and defaults.