Arch Linux setup for Plutus Pioneer Program

Credit: https://github.com/andreiosg/ppp-archlinux

A setup guide for the Nix package manager and Cardano Plutus apps on Arch Linux for the Plutus Pioneers Program

Notes

Setup

Nix

For Nix setup the Nix ArchWiki was used, as well as the official Nix Arch package instead of the upstream script due to security reasons as noted in the wiki.

Install the Nix package:

# pacman -S nix

Enable and start the nix-daemon.service:

# systemctl enable --now nix-daemon.service

Add your PPP $USER to the nix-users group.

Add a channel and update it:

$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable
$ nix-channel --update

Reboot.

Setup the IOHK binary cache based on the plutus-apps repository by editing ~/.config/nix/nix.conf with:

substituters        = https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=

Set your user as a trusted Nix user by editing /etc/nix/nix.conf and add the line:

trusted-users = your_ppp_user # change with your PPP user name