Nix on macOS | 1169 Members | |
| “There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org | 192 Servers |
| Sender | Message | Time |
|---|---|---|
| 10 Mar 2026 | ||
| Got it, thanks for the reply. I looked through the ryan4yin/nix-darwin-kickstarter issues (https://github.com/ryan4yin/nix-darwin-kickstarter/issues/5) and it looks like this compatibility problem has already been fixed. | 03:04:35 | |
Download image.png | 06:37:23 | |
| Is there a way to rebuild without using sudo directly? I don't want the generated lock file to be owned by root. | 06:37:26 | |
darwin-rebuild build && sudo darwin-rebuild switch i suppose? | 06:38:17 | |
You can just run nix flake update first to generate the lockfile | 06:38:26 | |
| what generated lock file are you atalkinga bout | 06:38:31 | |
| because yeah flake.lock is usually written by other tooling | 06:38:50 | |
| * because yeah flake.lock is usually written by other commands | 06:39:16 | |
| * what generated lock file are you talking about | 06:39:25 | |
| solved the problem by running darwin-rebuild build && sudo darwin-rebuild switch | 06:43:54 | |
Download image.png | 06:44:18 | |
that does work though i would follow k900's suggestion and use nix flake update (if updating) or nix flake lock (if adding a new flake input) instead | 06:46:55 | |
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 | ||