!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1163 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org188 Servers

Load older messages


SenderMessageTime
11 Oct 2025
@nazarewk:matrix.orgkdnbut if I can have ~8 heterogenous machines managed from Nix that sounds great to get started22:17:38
@nazarewk:matrix.orgkdn* but if I can have ~8 heterogenous machines managed from Nix that sounds great to get started before (if at all) I build out the k8s22:17:56
@niklaskorz:matrix.orgniklaskorzI think there was a talk about it at Nixcon 2024, if you prefer a video22:18:18
@niklaskorz:matrix.orgniklaskorzBut otherwise the docs seem good22:18:27
@niklaskorz:matrix.orgniklaskorzHaven't used it personally but I'm following it with keen interest for now22:18:47
@nazarewk:matrix.orgkdn"inventory" and "vars" looks Ansible-inspired ;D22:19:04
@nazarewk:matrix.orgkdn FYI: will continue the topic on the #users:nixos.org 22:20:13
@samasaur:matrix.orgsamasaurhow does a package find a private framework? those aren't included by default in the SDK, are they?23:30:25
@reckenrode:matrix.orgRandy Eckenrode There’s apple-sdk.privateFrameworksHook, but it won’t add the missing headers. 23:33:25
12 Oct 2025
@deadpanmuesli:matrix.orgdeadpanmuesli joined the room.04:22:57
@vcunat:matrix.orgvcunat The user count limits the --jobs count. 08:02:18
@vcunat:matrix.orgvcunatThe number of concurrent jobs getting built.08:02:41
@cujanovic.filip:matrix.orgcujanovic.filip joined the room.17:48:39
@cujanovic.filip:matrix.orgcujanovic.filipHey everyone. I just moved to nix from brew and I saw that you can also manage aerospace and sketchybar from nix since this will also resolve the PATH issue that I have, since I'm calling sketchybar and other binaries from aerospace. Now I want to manage sketchybar too, but I use the Lua API for sketchybar and I want to also copy the sketchybar dir from the nix-darwin directory. My current setup is that I have nix-darwin dir and inside of it I have the flake.nix and sketchybar dir and I want that dir to copy. How can I do that?17:52:51
@cujanovic.filip:matrix.orgcujanovic.filip set a profile picture.17:53:23
@cujanovic.filip:matrix.orgcujanovic.filip changed their profile picture.17:53:33
@cujanovic.filip:matrix.orgcujanovic.filip changed their profile picture.17:53:43
@samasaur:matrix.orgsamasaurdepends on where it needs to be copied to20:39:53
@samasaur:matrix.orgsamasaurthe janky way is to write a custom activation script that copies the file where you need it to go20:40:19
@samasaur:matrix.orgsamasaur if it's in /etc you can use environment.etc though (assuming sketchybar is fine with symlinks) 20:40:50
@samasaur:matrix.orgsamasaur* the janky way is to write a custom activation script that copies the directory where you need it to go20:40:54
@cujanovic.filip:matrix.orgcujanovic.filip

I'm a noob about this I just started with nix today 😄 I enabled sketchybar like this

            enable = true;
            config = pkgs.lib.readFile ./.config/macos/sketchybar/sketchybarrc;
          };

where the sketchybarrc contains the lua code that needs to be loaded, so I guess I need to put the whole dir where ever nix is putting this sketchybarrc file too

20:44:07
@samasaur:matrix.orgsamasauri'm confused what exactly you're trying to do20:49:20
@samasaur:matrix.orgsamasaurit sounds to me like you are having nix-darwin read one of your sketchybar config files, but you want it to read or copy the entire directory instead?20:50:07
@cujanovic.filip:matrix.orgcujanovic.filip yep the nix-darwin is reading the file that file of the sketchybar, but all other plugins for sketchybar are inside the /.config/macos/sketchybar/ dir and sketchybarrc depends on the other files from the /.config/macos/sketchybar/ 20:52:11
@samasaur:matrix.orgsamasaurgotcha20:52:29
@samasaur:matrix.orgsamasaur okay so looking at the source for nix-darwin's sketchybar module, i see that it doesn't actually copy/link the config file into place anywhere, it just passes it directly as a command-line argument 20:54:23
@samasaur:matrix.orgsamasaur(when not empty)20:54:38
@cujanovic.filip:matrix.orgcujanovic.filipoh yes, that is why I read the file and pass it as a string 20:55:49
@samasaur:matrix.orgsamasaurnow I am not a sketchybar user but my guess is that passing that is what's causing problems with your plugins?20:55:49

Show newer messages


Back to Room ListRoom Version: 6