My nix configurations
link the files to /etc/nixos:
configuration.nix -> nixfiles/configuration.nix
hardware-configuration.nix -> nixfiles/machines/dellxps-hardware-configuration.nix
users -> nixfiles/users
After installing nix on macos.
- Ensure channels home-manager, unstable and darwin are configured
> nix-channel --list
darwin https://github.com/LnL7/nix-darwin/archive/master.tar.gz
home-manager https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz
nixos-unstable https://nixos.org/channels/nixpkgs-unstable
-
Clone/link this repo to ~/.nixpkgs
-
Rebuild