!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
@tavinator:matrix.orgtavinatorfor context - i have seen that by default the installer creates 32 build users... i would like to reduce this to a number like 1 or maybe 219:46:58
@emilazy:matrix.orgemilyhaving only 1-2 build users will prevent you from running more than 1-2 builds at once20:40:31
@adamolczak:matrix.orgAdam Olczak joined the room.21:36:14
@tavinator:matrix.orgtavinator emily: i'm totally fine with that... do you know if the env var works? i'm not super confident about completely erasing the existing install on my macbook to test this. but i want to have a battle plan for when i try to convince 10-20 devs in my org to install this thing. 21:48:03
@emilazy:matrix.orgemilynot sure. I don't use the official installer on macOS.21:48:37
@emilazy:matrix.orgemilyI believe the Lix and DetSys installers both have a command-line parameter for the number of users.21:48:47
@emilazy:matrix.orgemilyout of curiosity, why is the number of users an issue? UID collisions?21:48:58
@tavinator:matrix.orgtavinatorbeing asked by management software whether you really want to execute that sudo command21:49:20
@tavinator:matrix.orgtavinator every single sudo command 21:49:24
@tavinator:matrix.orgtavinatoralso uid collisions but i know how to solve that one21:49:56
@emilazy:matrix.orgemily ah. well if you use one of the other installers it will only do one sudo. 21:53:50
@emilazy:matrix.orgemilyand also support uninstalls and other things like that.21:53:55
@emilazy:matrix.orgemilythe shell script installer is not very good.21:54:00
@tavinator:matrix.orgtavinatorokay. i'm gonna try to get one of my people to test drive the Lix installer. someone else test drove the DetSys one and it failed right out of the gate.21:54:43
@nazarewk:matrix.orgkdnis there any way to easily deploy to MacOS from NixOS x86 machine?22:04:49
@niklaskorz:matrix.orgniklaskorz I think clan recently added Darwin support 22:10:32
@niklaskorz:matrix.orgniklaskorzhttps://clan.lol/blog/macos/22:10:58
@nazarewk:matrix.orgkdncould you TLDR what is clan?22:11:26
@niklaskorz:matrix.orgniklaskorzNixOS cluster manager basically22:12:16
@nazarewk:matrix.orgkdnsomething like https://github.com/zhaofengli/colmena ?22:12:38
@nazarewk:matrix.orgkdn* something like https://github.com/zhaofengli/colmena or nixops?22:12:47
@nazarewk:matrix.orgkdnor more like kubernetes for nixos?22:14:35
@niklaskorz:matrix.orgniklaskorz Yes to both questions 22:14:48
@nazarewk:matrix.orgkdn this got me curious: I was planning to build out k3s cluster on top of NixOS (got the hardware, but aborted the Talos k8s deployment there due to some hiccups ~year ago) 22:16:57
@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

Show newer messages


Back to Room ListRoom Version: 6