- Install a
nixdistribution in your system and enable flakes. The snippet below will install Determinate Nix which have flakes pre-enabled.curl -fsSL https://install.determinate.systems/nix | sh -s -- install - Determine which target you want to use, and run below. (the example below will use the
cachyostarget)nix run github:nix-community/home-manager -- switch --flake github:selubi/machine#cachyos
Thats literally it! The only dependency needed here is curl, sh and internet access.
Shout out to these resources on helping me build this setup:
- Evertras/simple-homemanager - If you're new to nix and Home Manager, start here.