Open srid opened 1 month ago
To solve this, I simply added services.nix-daemon.enable = true;
, but now the installation fails with:
The documentation should be clear on what to do here.
I probably should add some of these to the template (shared with all templates):
And then, after moving existing nix.conf
out of the way:
sudo mv /etc/nix/nix.conf /etc/nix/nix.conf.before-nix-darwin
nix run .#activate --extra-experimental-features 'nix-command flakes'
which almost completes before hitting:
That required adding the following to nix-darwin config,
users.users.nix-infra.home = "/Users/nix-infra";
After this, activation succeeds.
Another issue:
/run/current-system/sw/bin/tailscale
are not added!
- Home-manager installed programs are not accessible in $PATH
Hi @srid, did you find a solution for it? I now have the same issue.
@Zhen-hao For now, I setup PATH
manually in my config:
Regardless, we should update the nixos-flake templates so that they "just work".
For the macOS only template when used on a new Mac Studio: https://community.flake.parts/nixos-flake/templates#macos