summaryrefslogtreecommitdiff
path: root/install-arch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install-arch.sh')
-rw-r--r--install-arch.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/install-arch.sh b/install-arch.sh
index 933be38..9e04b99 100644
--- a/install-arch.sh
+++ b/install-arch.sh
@@ -139,3 +139,16 @@ sudo pacman -Sy \
# dotfiles
yadm clone --bootstrap https://gitlab.com/drogueronin/dotfiles
+# nix
+sudo pacman -Sy \
+ nix
+
+sed -i 's/#sandbox/sandbox/' /etc/nix/nix.conf
+
+sudo systemctl enable nix-daemon --now
+
+sudo usermod -aG nix-users $USER
+
+nix-channel --add https://nixos.org/channels/nixpkgs-unstable
+nix-channel --update
+