Skip to content
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

nix-darwin's configuration directory differs from Nixpkgs #573

Closed
Freed-Wu opened this issue Nov 22, 2022 · 2 comments
Closed

nix-darwin's configuration directory differs from Nixpkgs #573

Freed-Wu opened this issue Nov 22, 2022 · 2 comments

Comments

@Freed-Wu
Copy link

In nix-darwin:

Configuration lives in ~/.nixpkgs/darwin-configuration.nix

In nix-pkgs:

A user’s nixpkgs configuration is stored in a user-specific configuration file located at ~/.config/nixpkgs/config.nix. For example:

Why nix-darwin's config is not ~/.config/nixpkgs?

@Enzime Enzime changed the title [question] Why config is not same as nixpkgs? Why is nix-darwin's configuration directory not the same as nixpkgs? Nov 8, 2024
@Enzime Enzime changed the title Why is nix-darwin's configuration directory not the same as nixpkgs? nix-darwin's configuration directory differs from Nixpkgs Nov 8, 2024
@Freed-Wu
Copy link
Author

Default is defined at https://github.com/LnL7/nix-darwin/blob/master/modules/environment/default.nix#L71. Any thought to change it?

@Enzime
Copy link
Collaborator

Enzime commented Nov 28, 2024

The plan is to change the default directory to /etc/nix-darwin as nix-darwin configures the entire system not just a singular user

nix-darwin is separate to Nixpkgs and should not live in its configuration directory

See #1203

@Enzime Enzime closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2024
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

No branches or pull requests

2 participants