From 635600ace2b1d1bd736a500a16b01298d64cc131 Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Fri, 19 Apr 2024 13:12:45 -0700 Subject: [PATCH] fix path --- systems/NOlaptop.nix | 1 + users/tao/HOME.nix | 6 +++--- users/tao/nushell/env.nu | 2 +- users/tao/nushell/stuff.nu | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/systems/NOlaptop.nix b/systems/NOlaptop.nix index 6942d2a..ba35bd0 100644 --- a/systems/NOlaptop.nix +++ b/systems/NOlaptop.nix @@ -29,6 +29,7 @@ { hostName = "nocomputer"; systems = ["x86_64-linux"]; + supportedFeatures = ["big-parallel"]; } ]; nix.extraOptions = '' diff --git a/users/tao/HOME.nix b/users/tao/HOME.nix index df597a0..5603d1c 100644 --- a/users/tao/HOME.nix +++ b/users/tao/HOME.nix @@ -14,9 +14,9 @@ in { # ./firefox.nix ]; - home.sessionPath = [ - "$HOME/.cargo/bin" - ]; + # home.sessionPath = [ + # "/home/tao/.cargo/bin" + # ]; home.file.".cargo/config.toml".text = cargoConfig; home.file.".config/autostart" = { source = ./autostart; diff --git a/users/tao/nushell/env.nu b/users/tao/nushell/env.nu index 51ed547..c6a39a4 100644 --- a/users/tao/nushell/env.nu +++ b/users/tao/nushell/env.nu @@ -79,4 +79,4 @@ $env.NU_PLUGIN_DIRS = [ ] # To add entries to PATH (on Windows you might use Path), you can use the following pattern: -# $env.PATH = ($env.PATH | split row (char esep) | prepend '/some/path') +$env.PATH = ($env.PATH | split row (char esep) | prepend '/home/tao/.cargo/bin') diff --git a/users/tao/nushell/stuff.nu b/users/tao/nushell/stuff.nu index 2c76d4d..54cb6d0 100644 --- a/users/tao/nushell/stuff.nu +++ b/users/tao/nushell/stuff.nu @@ -5,7 +5,7 @@ def bump [] { jj new -m "bump"; nix flake update; rc2nix | save -f /home/tao/projects/NOflake/users/tao/plasma.nix; - sudo nixos-rebuild --flake /home/tao/projects/NOflake/ boot --impure; + sudo nixos-rebuild --flake /home/tao/projects/NOflake/ boot --impure --verbose; }; alias b = btm; alias cringe = sudo bootctl set-oneshot auto-windows @@ -15,8 +15,8 @@ alias gc = sudo nix-collect-garbage -d alias js = jj status alias jd = jj diff alias pu = pueue -alias rb = sudo nice -n19 nixos-rebuild boot --flake . --impure -alias rs = sudo nice -n19 nixos-rebuild switch --flake . --impure +alias rb = sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose +alias rs = sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose alias t = task alias ts = tailscale alias tss = tailscale status