Files
dotfiles/nix
Stefan Imhoff 6dd6294def feat(nix): migrate oatmeal
Using it as homebrew tap instead of Nix
(https://github.com/dustinblackman/oatmeal?tab=readme-ov-file#nix),
because I'm unable to install the NUR repository successfully 🙄
2024-07-12 20:12:45 +02:00
..
2024-07-12 20:12:45 +02:00
2024-07-12 20:12:45 +02:00
2024-07-12 19:44:23 +02:00
2024-06-30 09:46:48 +02:00

Nix Dotfiles

This is my folder where I migrate my current dotfile setup to Nix, nix-darwin, and home-manager.

Warning

This is a work in progress and I am still learning Nix, so expect things to be broken.

# First time install
nix run nix-darwin -- switch --flake ~/.dotfiles/nix

By default the $hostname that matches the current machine is used, but it is possible to manually load one by running:

nix run nix-darwin -- switch --flake ~/.dotfiles/nix#mac-mini

Make sure this is added to your path:

export PATH="/run/current-system/sw/bin:$PATH"
# Switch to new configuration
darwin-rebuild switch --flake ~/.dotfiles/nix