Nix
This project requires nix with the experimental flakes feature enabled.
Recommended reads
Commands tested on
- Ubuntu Server 25.04
Installation
From your package manager
Arch
sh
pacman -Syu nixFrom installer
nixos.org
Fetch the installer
sh
curl --proto '=https' --tlsv1.2 -sSfL \
https://nixos.org/nix/install -o nix-install.shRead the script before executing it
sh
less nix-install.shGive execute permission
sh
chmod +x nix-install.shDo the installation (single-user)
sh
./nix-install.sh --no-daemonSource this file to update your PATH (or just open a new terminal)
sh
. ~/.nix-profile/etc/profile.d/nix.shEnable experimental features
Add this to ~/.config/nix/nix.conf
txt
experimental-features = nix-command flakesconsole
$ mkdir -p ~/.config/nix
$ echo 'experimental-features = nix-command flakes' >> ~/.config/nix/nix.confCheck
If everything went right, this should work
console
$ nix run nixpkgs#hello
Hello, world!