diff --git a/flake.lock b/flake.lock index e65e6e7..0db6b65 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1714136352, - "narHash": "sha256-BtWQ2Th/jamO1SlD+2ASSW5Jaf7JhA/JLpQHk0Goqpg=", + "lastModified": 1715101957, + "narHash": "sha256-fs5uVQFTfgb4L9pnhldeyTHNcYwn1U4nKYoCBJ6W3W4=", "owner": "ryantm", "repo": "agenix", - "rev": "24a7ea390564ccd5b39b7884f597cfc8d7f6f44e", + "rev": "07479c2e7396acaaaac5925483498154034ea80a", "type": "github" }, "original": { @@ -65,11 +65,11 @@ ] }, "locked": { - "lastModified": 1714981474, - "narHash": "sha256-b3/U21CJjCjJKmA9WqUbZGZgCvospO3ArOUTgJugkOY=", + "lastModified": 1715077503, + "narHash": "sha256-AfHQshzLQfUqk/efMtdebHaQHqVntCMjhymQzVFLes0=", "owner": "nix-community", "repo": "home-manager", - "rev": "6ebe7be2e67be7b9b54d61ce5704f6fb466c536f", + "rev": "6e277d9566de9976f47228dd8c580b97488734d4", "type": "github" }, "original": { diff --git a/users/tao/nushell/stuff.nu b/users/tao/nushell/stuff.nu index 9a51bba..4d3911d 100644 --- a/users/tao/nushell/stuff.nu +++ b/users/tao/nushell/stuff.nu @@ -1,14 +1,6 @@ source ~/.cache/starship/init.nu source ~/.zoxide.nu -def bump [] { - cd /home/tao/projects/NOflake/ - jj new -m "bump" - nix flake update - # rc2nix | save -f /home/tao/projects/NOflake/users/tao/plasma.nix; - sudo nixos-rebuild boot --flake /home/tao/projects/NOflake/ --impure --verbose -} - def l [ path? flags? @@ -33,13 +25,25 @@ def tsr [] { tailscale status } +def bump [] { + cd /home/tao/projects/NOflake/ + jj new -m "bump" + nix flake update + # rc2nix | save -f /home/tao/projects/NOflake/users/tao/plasma.nix; + sudo nix store ping --store ssh://nocomputer + sudo nice -n19 nixos-rebuild boot --flake /home/tao/projects/NOflake/ --impure --verbose + jj new +} + def rb [] { + sudo nix store ping --store ssh://nocomputer sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose hx --grammar fetch; hx --grammar build rm -rf ~/.cache/jdtls/ } def rs [] { + sudo nix store ping --store ssh://nocomputer sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose hx --grammar fetch; hx --grammar build rm -rf ~/.cache/jdtls/