sourcephile
/
git
/
julm
/
julm-nix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nix: update inputs
[julm/julm-nix.git]
/
install
diff --git
a/install
b/install
index 2cc2731cf02c59b4b265b74e80a4f6b2913ca1f1..6ae60dea3896ae3b915e1b1d9992d4f8dab9f4b0 100755
(executable)
--- a/
install
+++ b/
install
@@
-6,3
+6,4
@@
git rm -rf --cached --ignore-unmatch private/root private/hosts/*/root # prevent
sudo ln -sfn "$PWD/private/root" /root/private
# To build offline, use: --offline
sudo time nixos-rebuild switch --flake . "$@"
+sudo nix-env --delete-generations 7d --profile /nix/var/nix/profiles/system