From 3f65596b025917ee5ef35fc3c8c7d0b5b4a36f60 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 7 Dec 2021 11:50:24 +0100 Subject: Adds and configures nix --- install-arch.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 + -- cgit v1.2.3