This commit is contained in:
Tao Tien 2024-05-07 13:10:41 -07:00
parent 191ec06b7c
commit c5824eef35
2 changed files with 18 additions and 14 deletions

12
flake.lock generated
View file

@ -8,11 +8,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1714136352, "lastModified": 1715101957,
"narHash": "sha256-BtWQ2Th/jamO1SlD+2ASSW5Jaf7JhA/JLpQHk0Goqpg=", "narHash": "sha256-fs5uVQFTfgb4L9pnhldeyTHNcYwn1U4nKYoCBJ6W3W4=",
"owner": "ryantm", "owner": "ryantm",
"repo": "agenix", "repo": "agenix",
"rev": "24a7ea390564ccd5b39b7884f597cfc8d7f6f44e", "rev": "07479c2e7396acaaaac5925483498154034ea80a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -65,11 +65,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1714981474, "lastModified": 1715077503,
"narHash": "sha256-b3/U21CJjCjJKmA9WqUbZGZgCvospO3ArOUTgJugkOY=", "narHash": "sha256-AfHQshzLQfUqk/efMtdebHaQHqVntCMjhymQzVFLes0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6ebe7be2e67be7b9b54d61ce5704f6fb466c536f", "rev": "6e277d9566de9976f47228dd8c580b97488734d4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,14 +1,6 @@
source ~/.cache/starship/init.nu source ~/.cache/starship/init.nu
source ~/.zoxide.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 [ def l [
path? path?
flags? flags?
@ -33,13 +25,25 @@ def tsr [] {
tailscale status 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 [] { def rb [] {
sudo nix store ping --store ssh://nocomputer
sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose
hx --grammar fetch; hx --grammar build hx --grammar fetch; hx --grammar build
rm -rf ~/.cache/jdtls/ rm -rf ~/.cache/jdtls/
} }
def rs [] { def rs [] {
sudo nix store ping --store ssh://nocomputer
sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose
hx --grammar fetch; hx --grammar build hx --grammar fetch; hx --grammar build
rm -rf ~/.cache/jdtls/ rm -rf ~/.cache/jdtls/