❄️ My dotfiles for NixOS and macOS as a Nix flake. Neovim, Fish shell, Wezterm, etc.
These are my NixOS and macOS dotfiles, packaged as a Nix flake, using home-manager
.
For info on how to set up my Nix flake, see the setup instructions.
Nix is an incredibly complex piece of software, but despite that, I believe that Nix is the only sensible way to manage software today. Using Nix, and particularly a Nix flake, offers a few unique benefits:
*.nix
files), and as long as you stay within the guard rails, the environment should be deterministic.Additionally, no manual symlinking is required, and no treating your $HOME
directory as a git repo. My dotfiles just live at ~/git/dotfiles/
and Nix handles putting everything into place and keeping it up to date immutably.
Nix also supports Linux, NixOS, and macOS, which are the only operating systems I use.
I try my best to make things work for both macOS and Linux (NixOS), please let me know if something does not work. Windows is absolutely not supported, since Nix does not support Windows. Microsoft Windows itself is malware/spyware anyway.