Tuesday | 03 DEC 2024
[ previous ]
[ next ]

Using Nix on Arch

Title:
Date: 2024-02-06
Tags:  

Install nix:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install

Install home manager:

nix-channel --add https://nixos.org/channels/nixpkgs-unstable
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager

Update the channels:

nix-channel --update
nix-shell '<home-manager>' -A install

Author's Note
2024-02-10
I want to have reproducible systems but I don't think Nix is what I want. I can't manage system packages with home-manager, and I like stow more than home-manager right now. My use case is simple so stow is perfect. I also see a few different declarative systems that can be used in Arch so that might be more my speed.