I cloned my config repo into Projects directory in my home directory and have been running nixos-rebuild switch -I nixpkgs=$HOME/Projects/nixpkgs -I nixos-config=$HOME/Projects/nixfiles/hosts/$(hostname)/configuration.nix.¹  I do not even have /etc/nixos on my computer, and the nixfiles directory is completely anonymous – I can move it anywhere and, since I actually use relative paths in the rebuild command, I will not even have to change anything.  Some other tools like nixos-option might requi...
— Permalink