From 901ebcc4bceff6e28546e1f5d932599441bfe4b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Mon, 18 Apr 2022 16:45:19 +0100 Subject: [PATCH] better backup exclude list, update --- flake.lock | 18 +++++++++--------- nixos/backups.nix | 9 +++++++-- nixos/gui/default.nix | 1 - 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index d35c32ae..3cf48708 100644 --- a/flake.lock +++ b/flake.lock @@ -163,11 +163,11 @@ }, "nixpkgs-nixos-unstable": { "locked": { - "lastModified": 1649986882, - "narHash": "sha256-cNsInUFq1MbuvaEmv8x6jetWnmAU+osMpnwKumtjksI=", + "lastModified": 1650161686, + "narHash": "sha256-70ZWAlOQ9nAZ08OU6WY7n4Ij2kOO199dLfNlvO/+pf8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5181d5945eda382ff6a9ca3e072ed6ea9b547fee", + "rev": "1ffba9f2f683063c2b14c9f4d12c55ad5f4ed887", "type": "github" }, "original": { @@ -179,11 +179,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1649944829, - "narHash": "sha256-wjOgLfjCdyoRamMOrVJceeDJk4LvJsQOxBoT3k16/7Q=", + "lastModified": 1650244918, + "narHash": "sha256-DsS5nxjTpnoUC4pNXJI1rit7TnDTij8vQDa5PtcDCD0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2f06b87f64bc06229e05045853e0876666e1b023", + "rev": "7b38b03d76ab71bdc8dc325e3f6338d984cc35ca", "type": "github" }, "original": { @@ -227,11 +227,11 @@ }, "nur": { "locked": { - "lastModified": 1650024920, - "narHash": "sha256-GlCU6pWtaJgxy0qMcihJ2qOam0mLm5RQk9y98DimZzw=", + "lastModified": 1650270687, + "narHash": "sha256-It/SRKKhqjoRzXd40ThUxitZX3e4WD02rb2mlQ7Wc9I=", "owner": "nix-community", "repo": "NUR", - "rev": "d5323699bbacb4582e14d80d7913e1b05c1599db", + "rev": "43c55bab29a7d002e33cad7148a482f56b6b90b6", "type": "github" }, "original": { diff --git a/nixos/backups.nix b/nixos/backups.nix index 8ebf2a67..d8bd51a5 100644 --- a/nixos/backups.nix +++ b/nixos/backups.nix @@ -1,7 +1,12 @@ { config, pkgs, ... }: let - extraArgs = - [ "--exclude='.cache'" "--exclude='.rustup'" "--exclude='.cargo'" ]; + extraArgs = [ + "--exclude='.cache'" + "--exclude='.rustup'" + "--exclude='.cargo'" + "--exclude='.config/Element/Cache'" + "--exclude='.config/discord/Cache'" + ]; in { services = { diff --git a/nixos/gui/default.nix b/nixos/gui/default.nix index 493a91c7..967c2bca 100644 --- a/nixos/gui/default.nix +++ b/nixos/gui/default.nix @@ -35,7 +35,6 @@ in { [ anarchism binwalk-full - brave cheese digikam electrum