diff options
Diffstat (limited to 'scripts/pretty-rebuild')
-rwxr-xr-x | scripts/pretty-rebuild | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/pretty-rebuild b/scripts/pretty-rebuild index 4e30f4a..0814cca 100755 --- a/scripts/pretty-rebuild +++ b/scripts/pretty-rebuild @@ -1,11 +1,9 @@ #!/usr/bin/env nix-shell #!nix-shell -i zsh --packages nvd zsh -# sudo is used for nixos-rebuild below due to: https://github.com/NixOS/nix/issues/7154 cd /etc/nixos && \ nix flake update && \ - cd && \ - sudo env TMPDIR=/nix/tmp nixos-rebuild switch --upgrade --show-trace && \ + nixos-rebuild switch --upgrade --show-trace && \ echo && \ nixos-rebuild list-generations | cat && \ echo && \ |