diff --git a/flake.lock b/flake.lock index 8e7c365..eb0eb6b 100644 --- a/flake.lock +++ b/flake.lock @@ -38,11 +38,11 @@ ] }, "locked": { - "lastModified": 1682347289, - "narHash": "sha256-BQHY4lzS3Tkx4XLmZPR5FSjKWMP+cKNtUM8pTC4L9Ek=", + "lastModified": 1682333170, + "narHash": "sha256-yrJIk5/ONaX0QVQoq67DzNPW7epOuiwAM9FY9xFrE8k=", "owner": "nix-community", "repo": "home-manager", - "rev": "0263da497eae3246ea15ed6f0f7875bc15592cef", + "rev": "6f9781b1b0cf3fedbe9d2d0a785aeec4d6085c10", "type": "github" }, "original": { @@ -391,11 +391,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1682345099, - "narHash": "sha256-UmVuGvrOrL2iSZOf3sqzJAtbI9Y1BVAOHOdCBCI6W10=", + "lastModified": 1682275062, + "narHash": "sha256-+Z0szchvOKkiNoBU6HO9N9xORj9AlEUccPe3Bsn1Mvo=", "owner": "hyprwm", "repo": "xdg-desktop-portal-hyprland", - "rev": "f9f08c802e96ede147f25f724977a156324a4cf4", + "rev": "7d3da7e9686df82bb595857e1fde0cf235ad5fba", "type": "github" }, "original": { diff --git a/hosts/nuc/modules/backup/default.nix b/hosts/nuc/modules/backup/default.nix index d095d88..9d1076c 100644 --- a/hosts/nuc/modules/backup/default.nix +++ b/hosts/nuc/modules/backup/default.nix @@ -15,28 +15,24 @@ }; services.btrbk = { - instances."nuc-to-disk" = - { - settings = { - snapshot_preserve = "14d"; - snapshot_preserve_min = "2d"; - target_preserve = "30d 4w 12m"; - target_preserve_min = "2d"; - volume = { - "/mnt/pool" = { - subvolume = { - log = { - snapshot_create = "always"; - }; - lib = { - snapshot_create = "always"; - }; - }; - target = "/mnt/backup/nuc"; + instances."nuc-to-disk".settings = { + snapshot_preserve = "14d"; + snapshot_preserve_min = "2d"; + target_preserve = "30d 4w 12m"; + target_preserve_min = "2d"; + volume = { + "/mnt/pool" = { + subvolume = { + log = { + snapshot_create = "always"; + }; + lib = { + snapshot_create = "always"; }; }; + target = "/mnt/backup/nuc"; }; - onCalendar = "*-*-* */6:00:00"; }; + }; }; } diff --git a/shared/zsh.nix b/shared/zsh.nix index 8ff64de..11b4a32 100644 --- a/shared/zsh.nix +++ b/shared/zsh.nix @@ -49,10 +49,6 @@ prompt_dir() { prompt_segment blue $CURRENT_FG '%c' } - - witch() { - readlink -f $(which $1) - } cat ${../images/cat.sixel} '';