fix env vars

This commit is contained in:
Tyrel Souza 2023-01-11 22:20:33 -05:00
parent 93d9761e03
commit 0836d5e74c
1 changed files with 3 additions and 4 deletions

View File

@ -20,7 +20,7 @@ sync:
nix-channel --update
clean:
sudo nix-collect-garbage --delete-older-than 7d
nix-collect-garbage --delete-older-than 7d
home-manager expire-generations "-7 days"
rebuild: git-add clean
@ -30,6 +30,5 @@ rebuild-macos:
./result/sw/bin/darwin-rebuild switch --flake ./hosts/{{HOSTNAME}}
rebuild-ubuntu:
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/tyrel/channels/nixpkgs:/nix/var/nix/profiles/per-user/tyrel/channels
nix run ./hosts/{{HOSTNAME}} switch -vv
home-manager switch --flake ./hosts/{{HOSTNAME}}
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/tyrel/channels/nixpkgs:/nix/var/nix/profiles/per-user/tyrel/channels nix run ./hosts/{{HOSTNAME}} switch -vv
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/tyrel/channels/nixpkgs:/nix/var/nix/profiles/per-user/tyrel/channels home-manager switch --flake ./hosts/{{HOSTNAME}}