Configuration of my MacOS machines via Nix
Firstly, installed Nix via the recommended way here.
Then, installed nix-darwin
with flakes
as defined in the repository here
Slightly modified the commands because of the experimental nature of flakes
:
nix flake init -t nix-darwin --experimental-features 'nix-command flakes'
And:
nix run nix-darwin --experimental-features 'nix-command flakes' -- switch --flake ~/.config/nix-darwin