A Universal .dotfiles Configuration with Nix Flakes - over-engineered by Alex Spaulding.
👨💻 There are 1,559,069 lines of code in this repo. Last updated: Tue Dec 24 18:18:21 PST 2024
This repo contains my nixified .dotfiles, which additionally defines the operating system environment for NixOS and Darwin. Note: this repo was not designed to be installed for other interested users.
Please read the Notes for info on what to do for a fresh install.
- If you just set up a new mac, you should install Nix using the Determinite Nix Installer which automatically enables Nix Flakes for us.
- If you just set up NixOS, you already have Nix, NixOS configuration.nix, and you'll need to enable flakes and home-manager.
- If you are already using a different Linux Distro, you can install Nix, and the system setup will be different. You'll need to enable the nix daemon, and configure linux to support nix.
Since we are using a Flake-based .dotfiles config...
Ensure that you have enabled Flakes:
nix-env --version # Ensure that you have Nix 2.4 or newer
nix --experimental-features 'nix-command flakes' # Enable flakes
The install can be configured through the flake.nix. Home-Manager Configuration is done per-user under Users/{user}/home.nix If you're lost, please read the Notes to follow setup.