You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, nix newie here.
I want to use nix-darwin to have reproducible configurations for my mac, ideally with a one-line install script.
Up until now I have been managing this with a weird mix of chezmoi and other tools, but I wanted to start from scratch nix style.
The installation instructions ask me to put my config files directly on /etc/nix-darwin which feels a bit weird to me.
I see previously the location was ~/.config/nix-darwin which is much more aligned with my expectations.
However, I tried following that path, but the installation failed. Then I just moved the files to /etc/nix-darwin and everything started to work just fine.
Is there any guidance you can offer to being able to have my nix-config files live in the same place as my other dotfiles used to live (which is my chezmoi folder)
The text was updated successfully, but these errors were encountered:
You can set environment.etc.nix-darwin.source = "/Users/.../.config/nix-darwin"; so that nix-darwin will create a symlink at /etc/nix-darwin and then darwin-rebuild switch will work without requiring --flake
Hello, nix newie here.
I want to use nix-darwin to have reproducible configurations for my mac, ideally with a one-line install script.
Up until now I have been managing this with a weird mix of chezmoi and other tools, but I wanted to start from scratch nix style.
The installation instructions ask me to put my config files directly on
/etc/nix-darwin
which feels a bit weird to me.I see previously the location was
~/.config/nix-darwin
which is much more aligned with my expectations.However, I tried following that path, but the installation failed. Then I just moved the files to
/etc/nix-darwin
and everything started to work just fine.Is there any guidance you can offer to being able to have my
nix-config
files live in the same place as my other dotfiles used to live (which is my chezmoi folder)The text was updated successfully, but these errors were encountered: