5 Jul 2025 |
emily | and of course you'd want to remove the nix.enable = false; required for Determinate Nix | 15:33:06 |
emily | (this is for after you have whatever Nix you'd like installed) | 15:33:22 |
tiferrei | Do you find Lix has a similar level of "playing nice" with macOS as the determinate installer provides for vanilla nix? | 15:36:29 |
tiferrei | Purely from a short read of the about page of Lix, these sound like all principles i align with | 15:36:48 |
emily | in terms of the installer themselves all of {CLI DetSys installer installing Determinate Nix, CLI DetSys installer installing Nix, Lix installer installing Lix} should be comparable since they're based on the same codebase.
AIUI the main things the Determinate daemon does are Keychain integration for custom CAs, which nix-darwin lets you configure manually but does not have an automatic thing for; management of the daemon users, which nix-darwin handles by default; and automatic garbage collection, which can be configured in nix-darwin.
but Nix/Lix don't have things like lazy trees that Determinate Nix ships and I have no idea if they interoperate with FlakeHub if you use that. YMMV | 15:41:48 |
emily | I personally consider managing the Nix installation to be one of the killer features of nix-darwin since otherwise it is a bit fussy on macOS | 15:42:12 |
emily | I know Lix would like to move more functionality from the installer into the nix-daemon itself which would help with that but I don't think anything concrete has happened with that yet | 15:42:48 |
tiferrei | That sounds good, I also wanted to have nix-darwin manage nix, rather than some third party corp that i do not know | 15:51:07 |
tiferrei | Wow, all done and everything is working flawlessly, thank you! | 15:57:19 |
emily | 🎉 | 16:08:48 |
| ronald joined the room. | 20:42:11 |
6 Jul 2025 |
bestlem | I was inspired by this (and an issue with nix doctor) to update my nix - unfortunately the installer would not just work so I had to uninstall and reinstall.
I folowed the nix-darwin instructions using the Determinate installer and not use DetSys nix - which works
BUT ....
DetSys installer - does - * Create build users (UID 351-382) and group (GID 350)
And then nix-darwin then using my working flake then says -
error: Build user group has mismatching GID, aborting activation
The default Nix build user group ID was changed from 30000 to 350.
You are currently managing Nix build users with nix-darwin, but your
nixbld group has GID 350, whereas we expected 30000. | 10:06:47 |
bestlem | How do you use DetSys installer and nix-darwin together? as they seem to want different nixbld groups?
| 10:08:03 |
| fiodor joined the room. | 10:09:49 |
fiodor | Hi everyone. I'm trying to upgrade my setup to the latest nix-darwin, but I'm struggling with the migration due to system.activationScripts.extraUserActivation getting removed. I have some custom activation scripts which set up my dotfiles, etc. I cannot find anything that works as a replacement online. Can someone please help? | 10:16:20 |
toonn | There's Home-Manager's activation blocks, which sound more appropriate for dotfiles anyway. | 12:32:43 |
emily | you can use sudo in a system activation script if you really want to run some random code as a user | 12:41:13 |
emily | but yes, that's what Home Manager integration will do for you already, so I'd recommend using HM for this task | 12:41:23 |
| Cathal changed their display name from CJ to Cathal. | 17:17:20 |
7 Jul 2025 |
thefloweringash | For months my emacs has just been sometimes hanging whenever I run magit. Today I finally tracked it down. magit's commit action loads the commit message file, which runs normal-mode , which in my config hits go--is-go-asm , which loads ffap (presumably find-file-at-point), which then calls gcc -print-multiarch . This hits xcrun, which then infinitely invokes itself. The cause was having, in my PATH , the value /usr/bin/ instead of /usr/bin . This came from round-tripping via parse-colon-path which always adding a trailing slash to all returned path elements. I can even easily reproduce by running PATH=/usr/bin/:$PATH gcc in the shell environment. | 08:19:12 |
uep | There do seem to have been several opportunities to have not done something before the something that you eventually discovered was going wrong. | 10:49:41 |
Ben Sparks | obligatory XKCD: https://xkcd.com/1172/ | 11:06:39 |
Ben Sparks | * obligatory XKCDs: https://xkcd.com/1172/, https://xkcd.com/378/ | 11:07:01 |
antifuchs | In reply to @uep:matrix.org There do seem to have been several opportunities to have not done something before the something that you eventually discovered was going wrong. That’s the gamma knife model of incidents (: | 14:00:45 |
| @colemickens:matrix.org left the room. | 21:52:58 |
| Katalin 🔪 changed their display name from Katalin ⚧︎ to Katalin 🔪. | 23:28:20 |
8 Jul 2025 |
Zhaofeng Li | PSA about beta 3
If System Settings > Desktop & Dock > Displays have separate Spaces is disabled, WindowServer will crash at login time. (153570422) Workaround: Boot into Recovery, then mount the Data volume on your partition. Launch Terminal and run rm /Volumes/<Partition Name "Macintosh HD">/Users/<user name>/Library/Preferences/com.apple.Spaces.plist .
| 03:39:25 |
9 Jul 2025 |
| jonhermansen joined the room. | 01:17:51 |
Katalin 🔪 | they added an option to add a background to the menu bar in beta 3! Hallelujiah | 01:37:56 |
Zhaofeng Li | I think it was there in beta 2? | 05:14:59 |