diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-12-07 11:50:24 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-12-07 11:50:24 +0100 |
commit | 3f65596b025917ee5ef35fc3c8c7d0b5b4a36f60 (patch) | |
tree | 3caa1dc056cbe104a8da3d65c4be8b64e690318f /install-arch.sh | |
parent | aa45fe215fccdc437ea01ced4e9a88ef3d9d053d (diff) |
Adds and configures nix
Diffstat (limited to 'install-arch.sh')
-rw-r--r-- | install-arch.sh | 13 |
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 + |