diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-06 22:26:57 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-07-06 22:26:57 +0200 |
| commit | 513bfb002deefc2b5a631f1a1908d38c64ea060b (patch) | |
| tree | 1cc9defe977b68527f64c2536070e054841bd0e4 /modules/by-name/ba | |
| parent | modules/river/keymap: Toggle the systemd service for i3bar-river for restarts (diff) | |
| download | nixos-config-513bfb002deefc2b5a631f1a1908d38c64ea060b.zip | |
modules/backup: Don't backup games
the steam ones don't work without steam anyway, and for GOG it would be
nice to do, but I just don't have the space for that.
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/ba/backup/module.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/by-name/ba/backup/module.nix b/modules/by-name/ba/backup/module.nix index 7987a31f..37e93849 100644 --- a/modules/by-name/ba/backup/module.nix +++ b/modules/by-name/ba/backup/module.nix @@ -156,6 +156,8 @@ in { ]; exclude = [ "${homeDir}/soispha/.cache" + "${homeDir}/soispha/.local/share/lutris/install" + "${homeDir}/soispha/.local/share/Steam/steamapps/common" ]; extraBackupArgs = [ "--verbose=2" @@ -201,9 +203,13 @@ in { # This is only for listing, pruning and such stuff. storagebox-admin = lib.mkIf cfg.storagebox.enable { - inhibitsSleep = false; + inhibitsSleep = true; + + # Don't create the repository if it doesn't exist yet. initialize = false; + inherit paths exclude extraBackupArgs; + passwordFile = config.age.secrets.resticStorageboxRepositoryPassword.path; extraOptions = [ "rclone.program='ssh -p 23 ${cfg.storagebox.user}@${cfg.storagebox.user}.your-storagebox.de command_forced_on_remote'" |
