- Install nix
- Enable Flakes
- Install Home Manager via Flakes by the standalone installation
As of today, the latest nix version(2.14.0) has some issues and the workaround is to downgrade to the previous version.
sh <(curl -L https://releases.nixos.org/nix/nix-2.13.3/install)
Follow the steps from the guide and there is also a handy uninstall script for multi-user installations.
sh <(curl -L https://raw.githubusercontent.com/jacix/nixbits/main/nix-uninstall.sh)
sh <(curl -L https://releases.nixos.org/nix/nix-2.13.3/install)
nix run home-manager/release-23.11 -- init --switch
home-manager switch --flake .#<profile> # home-manager switch --flake .#dalbrunm-mac