!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
10 Mar 2026
@debtquity:matrix.orgdebtquity

interesting ...

# sudo darwin-rebuild switch --flake ~/.config/nix --show-trace
...
error: derivation '/nix/store/7ihkwpcdsk41sk0sk3fiy88xcpjm59yx-nodejs-slim-22.22.1.drv' specifies a sandbox profile, but this is only allowed when 'sandbox' is 'relaxed'
14:30:45
@debtquity:matrix.orgdebtquity

in the derivation, it shows ...

      "__sandboxProfile": "(allow file-read*\n  (literal \"/Library/Keychains/System.keychain\")\n  (literal \"/private/var/db/mds/system/mdsDirectory.db\")\n  (literal \"/private/var/db/mds/system/mdsObject.db\"))\n\n; Allow files written by Module Directory Services (MDS), which is used\n; by Security.framework: https://apple.stackexchange.com/a/411476\n; These rules are based on the system sandbox profiles found in\n; /System/Library/Sandbox/Profiles.\n(allow file-write*\n  (regex #\"^/private/var/folders/[^/]+/[^/]+/C/mds/mdsDirectory\\.db$\")\n  (regex #\"^/private/var/folders/[^/]+/[^/]+/C/mds/mdsObject\\.db_?$\")\n  (regex #\"^/private/var/folders/[^/]+/[^/]+/C/mds/mds\\.lock$\"))\n\n(allow mach-lookup\n  (global-name \"com.apple.FSEvents\")\n  (global-name \"com.apple.SecurityServer\")\n  (global-name \"com.apple.system.opendirectoryd.membership\"))\n",

Is this what it's complaining about?

14:41:49
@nor1nco:matrix.orgNorincoI 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
@anteater3:matrix.orgwill joined the room.20:09:27
@anteater3:matrix.orgwillis 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-summary20:12:52
11 Mar 2026
@axel_w:matrix.orgaxwWhen 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
@axel_w:matrix.orgaxw installing system wide works, /Applications/Nix\ Apps is populated 11:50:18
@axel_w:matrix.orgaxw * 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:51:30
@axel_w:matrix.orgaxw * 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:52:23
@axel_w:matrix.orgaxw the Home Manager Apps just links to somewhere in the /nix/store 11:53:37
@axel_w:matrix.orgaxw * the Home Manager Apps just links to somewhere in the /nix/store 11:54:02
@axel_w:matrix.orgaxw * the Home Manager Apps folder just links to somewhere in the /nix/store 11:54:25
@ctheune:matrix.flyingcircus.ioTheuni changed their display name from Theuni to Christian Theune.14:12:20
@artemist:nixos.dev@artemist:nixos.dev left the room.18:28:30
12 Mar 2026
@reckenrode:matrix.orgRandy EckenrodeDoes Home Manager need updating? I thought it was copying now too.00:47:41
@reckenrode:matrix.orgRandy EckenrodeRIP Wine on Darwin: https://bugs.winehq.org/show_bug.cgi?id=5856700:47:45
@ctheune:matrix.flyingcircus.ioTheuni changed their display name from Christian Theune to Theuni.07:18:22
@rebmit:rebmit.moerebmit[reb]
In reply to @reckenrode:matrix.org
Does Home Manager need updating? I thought it was copying now too.
seems like home-manager stateVersion needs to be updated to use copying
07:18:44
@samasaur:matrix.orgsamasauriirc there is an option you can set to enable coping without bumping stateVersion07:19:12
@samasaur:matrix.orgsamasaur targets.darwin.copyApps.enable 07:22:35
@samasaur:matrix.orgsamasaur 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
@weethet:catgirl.cloudWeetHetHonestly home manager has so little breaking changes that reading through them and bumping stateVersion is reasonable08:40:29
@weethet:catgirl.cloudWeetHetMuch easier than on NixOS08:40:36
@redbunnyninja:matrix.orgredbunnyninja joined the room.08:42:49
@redbunnyninja:matrix.orgredbunnyninja 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
@emilazy:matrix.orgemilyshould be in /run/current-system/sw/bin/fish or in your PATH if you open a new configured shell09:15:46
@emilazy:matrix.orgemilyFWIW I still need to clean up my local x86 drop stack but I think the code burden of supporting it just enough to build Wine while this gets fixed would be very low for now. i.e. we could drop it almost everywhere and get most of the maintenance and infra benefit while still letting Wine build09:17:53
@emilazy:matrix.orgemilyI wonder if we could just do Wine as "cross" to x86 for now honestly09:18:38
@emilazy:matrix.orgemilywithout even involving a full stdenv09:18:54
@samasaur:matrix.orgsamasaur be sure to also set programs.fish.enable = true; :) 09:19:00

There are no newer messages yet.


Back to Room ListRoom Version: 6