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

Tracking issue for deprecating installer #1156

Open
6 tasks
Enzime opened this issue Nov 8, 2024 · 3 comments
Open
6 tasks

Tracking issue for deprecating installer #1156

Enzime opened this issue Nov 8, 2024 · 3 comments

Comments

@Enzime
Copy link
Collaborator

Enzime commented Nov 8, 2024

  • Replace copying the default configuration with instructions in README, see Tracking issue for updating README #1155
  • Change services.nix-daemon.enable to default to true and add sufficient checks to tell users to set it to false if they are using single-user mode, see nix-daemon: enable by default #1164
  • Replace setting up darwin channel with instructions in README, see Tracking issue for updating README #1155
  • Test nix run nix-darwin -- switch -I darwin-config=~/.nixpkgs/darwin-configuration.nix
  • Replace installer with darwin-rebuild switch command in README
  • Ensure /etc/synthetic.conf always contains run if sw_vers > 10.15
@Enzime
Copy link
Collaborator Author

Enzime commented Nov 8, 2024

Not sure if we should change darwin-rebuild to default <darwin> to the nix-darwin it comes from

If we do that, then we could even automate adding the darwin channel as part of activation, rather than requiring users to manually do it

@emilazy
Copy link
Collaborator

emilazy commented Nov 8, 2024

Wouldn’t that pin an exact commit when used through nix run?

@Enzime
Copy link
Collaborator Author

Enzime commented Nov 9, 2024

Only if the user doesn't have <darwin> configured in their channels

We could also add an option like nix.configureDarwinChannel = true; which runs:

$ nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin

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