!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1172 Members
โ€œThere are still many issues with the Darwin platform but most of it is quite usable.โ€ โ€” http://yves.gnu-darwin.org192 Servers

Load older messages


SenderMessageTime
13 Mar 2026
@emilazy:matrix.orgemilyHomebrew doesn't really support multiple installs unfortunately11:30:30
@nasso:matrix.orgnassoyeah i had a feeling i wasn't supposed to set it at all in this case11:31:05
@emilazy:matrix.orgemilyyou can assign a dedicated Homebrew admin user or have an unsupported per-user installation (but nix-darwin wouldn't manage those and HM doesn't have anything for it AFAIK)11:31:11
@emilazy:matrix.orgemilycombining nix-darwin and HM sounds like what you want l11:31:27
@emilazy:matrix.orgemily * 11:31:34
@emilazy:matrix.orgemilyprobably with the HM integration module for nix-darwin11:31:46
@emilazy:matrix.orgemilyshared stuff in nix-darwin, per-user in HM11:32:02
@nasso:matrix.orgnassohow would homebrew fit in this11:32:09
@emilazy:matrix.orgemilyalso you may not need Homebrew. I used it to install GUI app casks but Nixpkgs has a lot more of those packaged than it used to. I'd definitely prefer Nixpkgs packages over formulae11:32:55
@nasso:matrix.orgnassoalso just to be sure, by "dedicated homebrew admin user" you mean e.g. a user named "brew" that is just here to own the global homebrew installation ?11:33:13
@nasso:matrix.orgnasso
In reply to @emilazy:matrix.org
also you may not need Homebrew. I used it to install GUI app casks but Nixpkgs has a lot more of those packaged than it used to. I'd definitely prefer Nixpkgs packages over formulae
yes me too id prefer not to use homebrew
11:33:41
@emilazy:matrix.orgemilyHomebrew can automate installation of complex binary packages that ship with installer .apps or .pkgs, and it happens to have a wider range of standard .apps packaged than Nixpkgs (but there's a couple repos that automatically convert every "standard" cask to a Nix package you can use too)11:34:37
@emilazy:matrix.orgemilyother than that it's redundant11:34:47
@emilazy:matrix.orgemilyoh and it can also automate App Store via mas of course, although mas is often flaky...11:35:15
@nasso:matrix.orgnassohehe flaky11:35:25
@emilazy:matrix.orgemilyand IIRC we might have a native module for that now11:35:26
@emilazy:matrix.orgemilyyeah11:35:34
@emilazy:matrix.orgemilythey don't really support that though11:35:47
@emilazy:matrix.orgemilythey don't support a lot of things :P11:35:56
@nasso:matrix.orgnassoyeah haha11:36:16
@nasso:matrix.orgnassowell thank you so much! love your work11:36:30
@emilazy:matrix.orgemilydon't thank me too much, I've been neglecting nix-darwin terribly lately ๐Ÿ˜…11:37:13
@emilazy:matrix.orgemilysamasaur and Enzime deserve the credit for keeping it going right now11:37:53
@nasso:matrix.orgnassoive seen you a lot when digging through multi-user issues and PRs :p11:39:03
@emilazy:matrix.orgemilyyeah killing off user-specific activation was my white whale for like a year and a half haha11:40:25
@emilazy:matrix.orgemily fwiw, I consider everything that needs system.primaryUser set to be essentially deprecated and something that should be handled in Home Manager instead or at least under users.users.<name> 11:41:01
@emilazy:matrix.orgemilythe problem is there's not always a good alternative yet and I haven't had time to draw the rest of the owl11:41:34
@emilazy:matrix.orgemilybut the idea is that a configuration shouldn't treat any particular user specially11:42:15
@nasso:matrix.orgnassothat's what i was understanding yeah that's why i didn't want to set primaryUser11:42:38
@emilazy:matrix.orgemilynote that you'll have to set up Homebrew manually as that user unless you use a third party module like nix-homebrew to bootstrap it11:45:27

Show newer messages


Back to Room ListRoom Version: 6