Skip to content

Provide nix-darwin module for nix.custom.conf #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

lucperkins
Copy link
Member

@lucperkins lucperkins commented Jun 20, 2025

This module would enable Determinate Nix + nix-darwin users to do this:

{
  # Let Determinate Nix set `/etc/nix/nix.conf`
  nix.enable = false;

  # Set `/etc/nix/nix.custom.conf`
  determinate-nix.customSettings = {
    lazy-trees = true;
  };
}

I currently have this working as expected in my own config:

https://github.com/the-nix-way/nome/blob/main/flake.nix#L142-L180
https://github.com/the-nix-way/nome/blob/main/nix-darwin/base/default.nix#L17-L19

@lucperkins lucperkins marked this pull request as ready for review June 20, 2025 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant