!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
8 Mar 2026
@antifuchs:asf.computerantifuchswaiiit why is this even getting eval'd on a darwin system16:02:47
@emilazy:matrix.orgemilyhttps://github.com/nix-community/nixos-vscode-server is this the repo you mean?16:03:18
@emilazy:matrix.orgemily

I believe this is actually caused by the combination of flake-utils + the way they're doing

        pkgs = nixpkgs.legacyPackages.${system};
        inherit (pkgs.lib) hasSuffix optionalAttrs;
16:04:30
@emilazy:matrix.orgemily rather than using nixpkgs.lib 16:04:35
@antifuchs:asf.computerantifuchsthat's the one. also, removing it as a flake input seems to have fixed my eval warnings. its outputs weren't pulled into any of my darwin systems, but ... guess these things are tied together in mysterious ways16:04:52
@emilazy:matrix.orgemily I think we could potentially do a Gross Disgusting Hack where we make nixpkgs.legacyPackages.x86_64-darwin.lib avoid the warning 16:04:59
@emilazy:matrix.orgemilyah, so it's all just from that one flake?16:05:13
@antifuchs:asf.computerantifuchsseems so!16:05:27
@antifuchs:asf.computerantifuchs(it's also been unused by me since 2023, so a great reminder to remove it, lol)16:05:42
@emilazy:matrix.orgemilyfair enough ๐Ÿ˜…16:06:08
@emilazy:matrix.orgemilyit could be patched to fix the warnings but I notice that it hasn't been touched in years16:06:19
@emilazy:matrix.orgemilyso, maybe it's obsolete(?)16:06:23
@k900:0upti.meK900FWIW if you don't want to go the nix-ld route, all you should need is https://github.com/K900/vscode-remote-workaround/blob/main/vscode.nix16:07:16
@emilazy:matrix.orgemilythere's a few things that can cause spurious or duplicate warnings unfortunately, I did my best to mitigate them but it's not fully avoidable. hope has just been to assess how often they happen and how annoying they are to see if this approach will work. so far few complaints, surprisingly16:07:20
@k900:0upti.meK900(probably updated to an appropriate nodejs version)16:07:33
@ss:someonex.netSomeoneSerge (matrix works sometimes) changed their display name from SomeoneSerge (back on matrix) to SomeoneSerge (matrix works sometimes).23:34:17
9 Mar 2026
@risson:lama-corp.spacerisson left the room.00:42:37
@nor1nco:matrix.orgNorinco joined the room.16:23:36
@nor1nco:matrix.orgNorincoI am a new nix-darwin user, and I'm currently trying to install nix-darwin and lix on my Mac. I've chosen ryan4yin/nix-darwin-kickstarter as my starter configuration. However, I noticed the following comment in the repo: nix.enable = true; # TODO: set this to false if you're using Determinate Nix. I don't quite understand what Determinate Nix is. My question is: if I install lix using the "New Installs" method from the official lix documentation (curl -sSf -L https://install.lix.systems/lix | sh -s -- install), do I need to set nix.enable = false? Also, if I do set nix.enable = false, how should I configure options like substituters and gc?16:36:28
@k900:0upti.meK900Determinate Nix is another fork (they say "distribution") of Nix16:37:59
@k900:0upti.meK900 You can use nix.enable = true with Lix, though you'll want to also set nix.package = pkgs.lixPackageSets.latest.lix or similar 16:38:21
@nor1nco:matrix.orgNorincoOkay, thank you for your answer.16:40:53
@nasso:matrix.orgnassoi will soon get a new macbook for work, and i was thinking maybe i might bite the bullet and try out nix-darwin on it?? im pretty new to nix still, and my main concern here is multi-user support. because i want to use this machine for both work and personal stuff, i need to setup two users (unclear yet which one(s) will be admin). is this a supported use-case for nix-darwin? how will that work??? (also i have never had multiple users on macOS so i guess im also new to that part lol)17:24:56
@samasaur:matrix.orgsamasaurwe do support multiple users, yes. it should Just Work, though some nix-darwin options really only apply to the activating user so you may want to avoid those and control them with home-manager instead17:33:22
@ragdoc:matrix.orgragdocYou might also want to have a look at the nix.settings.trusted-users option.17:35:11
@nasso:matrix.orgnassocool! thanks! i wonder if i will regret learning nix + nix-darwin + multi-user macOS all at once17:37:44
@ragdoc:matrix.orgragdocThere is not much to learn on the macOS side of things, don't worry. Users can either be admins or not, that's pretty much it.17:40:48
10 Mar 2026
@nor1nco:matrix.orgNorincoStill regarding this issue, I just took a look at the lix installer repo and noticed it says 'Based on the Determinate Installer.'(https://git.lix.systems/lix-project/lix-installer#:~:text=A%20fast%2C%20friendly%2C%20and%20reliable%20tool%20to%20help%20you%20use%20Lix%2C%20the%20community%20implementation%20of%20the%20nix%20tooling.%20Based%20on%20the%20Determinate%20Installer.) Does this mean I really should be setting nix.enable = false?02:45:34
@reckenrode:matrix.orgRandy Eckenrode No. Det Nix has a daemon that takes over some system manage stuff. Lix relies on the user (e.g., via nix-darwin) to update it. nix.enable should be true with Lix. 02:53:59
@reckenrode:matrix.orgRandy EckenrodeThe installer is just what does the initial setup (creating the store, etc). The old installer is written in Bash. The Det Nix one (also used by Lix) is written in Rust.02:54:53

Show newer messages


Back to Room ListRoom Version: 6