From 513bfb002deefc2b5a631f1a1908d38c64ea060b Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 6 Jul 2026 22:26:57 +0200 Subject: 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. --- modules/by-name/ba/backup/module.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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'" -- cgit v1.3.1