new nushell stuff

This commit is contained in:
Tao Tien 2024-11-05 08:16:23 -08:00
parent 7c12c1d4f2
commit 1fa23239ee
3 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,6 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
digital
asm-lsp
gh
# bash-language-server

View file

@ -26,7 +26,7 @@
ouch
pueue
ripgrep
rustdesk
# rustdesk
# screen
skim
tree

View file

@ -27,6 +27,7 @@ alias jg = jj git clone --colocate
alias jm = jj bookmark set main
alias jp = jj git push
alias js = jj status
alias jw = jj workspace update-stale
def h [] {
sk | complete |
@ -66,6 +67,9 @@ def nr [package] {
nix search nixpkgs $package
}
def rebuild --wrapped [subcommand, ...rest] {
if (open /etc/hostname == NOlaptop) {
sudo nix store info --store ssh://nocomputer
}
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose ...$rest
}
# def post-rebuild [] {