From b106ae96a909b67f9e67594b3e867c681aecbf5a Mon Sep 17 00:00:00 2001 From: NexVeridian Date: Tue, 3 Jun 2025 17:50:47 -0700 Subject: [PATCH] update justfile --- justfile | 24 +++++++++--------------- nix/flake.lock | 18 +++++++++--------- nix/flake.nix | 2 +- yt-dlp.md | 2 ++ 4 files changed, 21 insertions(+), 25 deletions(-) diff --git a/justfile b/justfile index 7c714a9..8717b81 100644 --- a/justfile +++ b/justfile @@ -1,39 +1,33 @@ -switch *args='': +switch attic="false": nix-channel --update nix flake update --flake ./nix/. sudo darwin-rebuild switch --verbose --flake ./nix/. - if [ "{{args}}" = "attic" ]; then just attic; fi + if [ "{{attic}}" = "true" ]; then just attic; fi -update *args='': +update attic="false": nix-channel --update sudo darwin-rebuild switch --verbose --flake ./nix/. - if [ "{{args}}" = "attic" ]; then just attic; fi + if [ "{{attic}}" = "true" ]; then just attic; fi clean: sudo nix-collect-garbage -d -k cargo clean-all -y ~/Desktop/Stuff/Programing/ - rm -r ~/.cache/huggingface/hub/* + rm -r ~/.cache/huggingface/hub/* || true attic: #!/usr/bin/env bash attic cache create mac | true attic use mac | true - for i in {1..5}; do - attic push mac /run/current-system -j 1 && break || [ $i -eq 5 ] || sleep 5 - done - for i in {1..5}; do - attic push mac /nix/store/*/ && break || [ $i -eq 5 ] || sleep 5 + for i in {1..10}; do + attic push mac /run/current-system /nix/store/*/ && break || [ $i -eq 5 ] || sleep 5 done attic-tower: #!/usr/bin/env bash attic cache create tower:mac | true attic use tower:mac | true - for i in {1..5}; do - attic push tower:mac /run/current-system -j 1 && break || [ $i -eq 5 ] || sleep 5 - done - for i in {1..5}; do - attic push tower:mac /nix/store/*/ && break || [ $i -eq 5 ] || sleep 5 + for i in {1..10}; do + attic push tower:mac /run/current-system /nix/store/*/ && break || [ $i -eq 5 ] || sleep 5 done install: diff --git a/nix/flake.lock b/nix/flake.lock index 3e4b991..1e68fa1 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1747521943, - "narHash": "sha256-GMAJcB8oB9cC+TbYTE7QDfw9fwHZyloxUWnUpHnQRko=", + "lastModified": 1748998583, + "narHash": "sha256-X8kkfgfqdYa/sqGpMdDkrLytS6mj89PJW+x22+r29Yg=", "owner": "LnL7", "repo": "nix-darwin", - "rev": "b9b927dd1f24094b271e8ec5277a672dc4fc860d", + "rev": "d46a07214fc25b6313f2ea3ba789cd7ff036aeb2", "type": "github" }, "original": { @@ -80,11 +80,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1747467164, - "narHash": "sha256-JBXbjJ0t6T6BbVc9iPVquQI9XSXCGQJD8c8SgnUquus=", + "lastModified": 1748856973, + "narHash": "sha256-RlTsJUvvr8ErjPBsiwrGbbHYW8XbB/oek0Gi78XdWKg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3fcbdcfc707e0aa42c541b7743e05820472bdaec", + "rev": "e4b09e47ace7d87de083786b404bf232eb6c89d8", "type": "github" }, "original": { @@ -109,11 +109,11 @@ ] }, "locked": { - "lastModified": 1747622321, - "narHash": "sha256-W0dYIWgsUu6rvOJRtKLhKskkv0VhQhJYGNIq+gGUc8g=", + "lastModified": 1749004659, + "narHash": "sha256-zaZrcC5UwHPGkgfnhTPx5sZfSSnUJdvYHhgex10RadQ=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "bd030fd9983f7fddf87be1c64aa3064c8afa24c4", + "rev": "c52e346aedfa745564599558a096e88f9a5557f9", "type": "github" }, "original": { diff --git a/nix/flake.nix b/nix/flake.nix index d217187..1f18593 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -41,7 +41,7 @@ # https://search.nixos.org/packages environment.systemPackages = with pkgs; [ - keepassxc + # keepassxc raycast # modrinth-app rclone diff --git a/yt-dlp.md b/yt-dlp.md index 2fc403b..85641ea 100644 --- a/yt-dlp.md +++ b/yt-dlp.md @@ -1,3 +1,5 @@ +# https://cobalt.tools/ + # yt-dlp https://github.com/yt-dlp/yt-dlp