!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
11 Jun 2026
@ben302100:matrix.orgYushi Is anyone using doas on mac? Can it replace sudo? 18:15:32
@k900:0upti.meK900 macOS' sudo is not even the same sudo you see on Linux anyway 18:17:58
@k900:0upti.meK900 It's an entirely different implementation 18:18:04
@reckenrode:matrix.orgRandy EckenrodeIt can, but it doesn’t support caching authentication, so you have to type your password every time.18:20:05
@ben302100:matrix.orgYushiinteresting18:23:44
@ben302100:matrix.orgYushiit doesn't support touch ID either, right?18:24:11
@k900:0upti.meK900And "doas is more secure" is mostly bullshit too18:24:24
@hrmn123:matrix.orgDucky changed their profile picture.18:55:08
@reckenrode:matrix.orgRandy EckenrodeI tried, but it couldn’t load the PAM module IIRC.20:46:10
@reckenrode:matrix.orgRandy Eckenrode

It is but with some patches. As far as their forks go, it seems pretty modest. We don’t build it because it requires entitlements.

https://github.com/apple-oss-distributions/sudo/tree/main/sudo

20:52:19
12 Jun 2026
@weethet:catgirl.cloudWeetHetI still think nixpkgs should have a small binary subset of packages for macOS that are built and signed with NixOS entitlements and provided as binary packages11:48:01
@weethet:catgirl.cloudWeetHetFor stuff like debug server, etc11:48:25
@benjaminsparks:chat.alugha.appBen SparksWhat's the difference to https://cache.nixos.org/?11:49:59
@weethet:catgirl.cloudWeetHetYou won't be able to rebuild these bit by bit 11:50:24
@reckenrode:matrix.orgRandy EckenrodeSigning has to be done with a developer certificate issued by Apple or one you trusted manually.11:50:27
@weethet:catgirl.cloudWeetHet* You won't be able to rebuild these bit for bit 11:50:44
@weethet:catgirl.cloudWeetHetNixOS can get a certificate, or?11:50:58
@benjaminsparks:chat.alugha.appBen Sparksbit for bit reproducibility is an extremely high target11:51:05
@weethet:catgirl.cloudWeetHetIt's 100$?11:51:06
@reckenrode:matrix.orgRandy Eckenrode We don’t have a way to do that safely, so it would have to be done separately and provided as binaries (which I think is what WeetHet is getting at). 11:51:18
@weethet:catgirl.cloudWeetHetYeah that's basically my idea11:51:35
@weethet:catgirl.cloudWeetHetStill better than using binaries provided by apple11:52:00
@reckenrode:matrix.orgRandy EckenrodeI don’t think we’d want to sign a bunch of binaries like that. If there’s a problem, Apple could revoke the certificate and break everything.11:52:11
@reckenrode:matrix.orgRandy EckenrodeProbably the way to go is a cert we install, but we still don’t have a way to safely manage signing.11:52:44
@reckenrode:matrix.orgRandy EckenrodeThe issue is if you can make Nix sign arbitrary code, it undermines the security model behind entitlements.11:53:10
@weethet:catgirl.cloudWeetHetThe derivations that are signed this way would need to be approved by darwin-core?11:54:15
@k900:0upti.meK900 Doesn't Apple require additional verification for those certs anyway? 11:55:06
@weethet:catgirl.cloudWeetHetPreferably this should be done together with requiring mandatory commit signing for everyone in nixpkgs so no one could just update a random file and fake a signature11:55:36
@weethet:catgirl.cloudWeetHet* Preferably this should be done together with requiring mandatory commit signing for everyone in nixpkgs so no one could just update a random file and fake the author11:55:42
@k900:0upti.meK900That is never happening11:56:36

Show newer messages


Back to Room ListRoom Version: 6