- Install nix
- Make your ~/.config/nix/nix.conf look like this:
experimental-features = flakes nix-command
access-tokens = github.com=<your github token>
- Install home manager:
nix shell nixpkgs#home-manager
./switch.nu
nix flake update
Then run home-manager switch like above