summaryrefslogtreecommitdiff
path: root/install-arch.sh
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2022-02-05 12:45:20 +0100
committerDaniel Weipert <code@drogueronin.de>2022-02-05 12:45:20 +0100
commita27b3b33408c860b74c5c4ef15a670745b098215 (patch)
tree1143fabe4d0353715d46fd3886edea2f8a0cb10c /install-arch.sh
parent949b5c323595d9dd75582cc43e0773febee96836 (diff)
Fix nix install
Diffstat (limited to 'install-arch.sh')
-rw-r--r--install-arch.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/install-arch.sh b/install-arch.sh
index 69e6ccc..47da6c5 100644
--- a/install-arch.sh
+++ b/install-arch.sh
@@ -157,7 +157,7 @@ sudo pacman -Sy \
sudo pacman -Sy \
nix
-sed -i 's/#sandbox/sandbox/' /etc/nix/nix.conf
+sed -i 's/# sandbox/sandbox/' /etc/nix/nix.conf
sudo systemctl enable nix-daemon --now
@@ -165,4 +165,5 @@ sudo usermod -aG nix-users $USER
nix-channel --add https://nixos.org/channels/nixpkgs-unstable
nix-channel --update
+nix-env -u