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.org | 200 Servers |
| Sender | Message | Time |
|---|---|---|
| 10 Mar 2026 | ||
though on the other hand i'm the kind of insane who has set up my configuration to throw an eval error if i'm not on a clean git commit, so darwin-rebuild build && sudo darwin-rebuild switch woudn't work for me anyway | 06:48:22 | |
* though on the other hand i'm the kind of insane who has set up my configuration to throw an eval error if i'm not on a clean git commit, so darwin-rebuild build && sudo darwin-rebuild switch wouldn't work for me anyway | 06:48:27 | |
| I used NixOS two years ago, and back then I used nh. I just checked and saw that nh supports aarch64-darwin, but there aren't any configuration options for it in the nix-darwin manual. I'm planning to look into whether using nh on nix-darwin is a good idea tomorrow. | 06:53:34 | |
| nh works on nix-darwin but note the command line is nh darwin ... rather than nh os .... And there are less options for darwin when you do more than switch anmd build. I just use nh from the command-line with no configuration options so the same for Linux and macOS | 08:04:49 | |
| interesting ...
| 14:30:45 | |
| in the derivation, it shows ...
Is this what it's complaining about? | 14:41:49 | |
| I have a question about macOS. I have a 2K external monitor and an HDMI 2.0 cable. The monitor supports 3840x2160 (the resolution used for 1080p HiDPI). In the macOS display settings, I can set the resolution to 3840x2160@60Hz. However, for the 1080p HiDPI scaled resolution, the highest refresh rate I can select is only 30Hz. Why is this happening? | 16:37:48 | |
| 20:09:27 | ||
| is anyone here able to trigger hydra rebuilds? I haven't been able to apply my config for a couple of days because of nodejs-slim-22.22.1. looks like the builder just ran out of disk space https://hydra.nixos.org/build/323732403#tabs-summary | 20:12:52 | |
| 11 Mar 2026 | ||
| When using Nix Darwin a symlinked "Home Manager Apps” folder appears in the ~/Applications directory, however after installing Graphical Apps using home.packages = with pkgs; [ raycast ]; the Folder remains empty. What am I missing? | 11:48:45 | |
installing system wide works, /Applications/Nix\ Apps is populated | 11:50:18 | |
* When using Nix Darwin a symlinked "Home Manager Apps” folder appears in the ~/Applications directory, however after installing Graphical Apps using:the Folder remains empty. What am I missing? | 11:51:30 | |
* When using Nix Darwin a symlinked Home Manager Apps folder appears in the ~/Applications directory, however after installing Graphical Apps using:the Folder remains empty. What am I missing? | 11:52:23 | |
the Home Manager Apps just links to somewhere in the /nix/store | 11:53:37 | |
* the Home Manager Apps just links to somewhere in the /nix/store | 11:54:02 | |
* the Home Manager Apps folder just links to somewhere in the /nix/store | 11:54:25 | |
| 14:12:20 | ||
| 18:28:30 | ||
| 12 Mar 2026 | ||
| Does Home Manager need updating? I thought it was copying now too. | 00:47:41 | |
| RIP Wine on Darwin: https://bugs.winehq.org/show_bug.cgi?id=58567 | 00:47:45 | |
| 07:18:22 | ||
In reply to @reckenrode:matrix.orgseems like home-manager stateVersion needs to be updated to use copying | 07:18:44 | |
| iirc there is an option you can set to enable coping without bumping stateVersion | 07:19:12 | |
targets.darwin.copyApps.enable | 07:22:35 | |
though last i heard there were some issues with the app management permissions check, so you may also want to set targets.darwin.copyApps.enableChecks = false | 07:23:31 | |
| Honestly home manager has so little breaking changes that reading through them and bumping stateVersion is reasonable | 08:40:29 | |
| Much easier than on NixOS | 08:40:36 | |
| 08:42:49 | ||
hey all, i'm just starting out with nix! i'm on macos and i'm trying things out to see if a declarative config works for me. i've followed the flakes method to get started from https://github.com/nix-darwin/nix-darwin and used https://github.com/ryan4yin/nix-darwin-kickstarter/tree/main/minimal as inspiration on how to structure things in my config. the initial sudo nix run nix-darwin/master#darwin-rebuild -- switch worked but i have no idea where the binaries that are in my config went to. e.g. i added in the fish shell to the nix config but i can't find where the fish shell that got installed is :) | 08:46:28 | |
| should be in /run/current-system/sw/bin/fish or in your PATH if you open a new configured shell | 09:15:46 | |