!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1176 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
26 Mar 2026
@nasso:matrix.orgnassothats pretty smart17:49:13
@nasso:matrix.orgnassoyou still have a lockfile though right?17:49:33
@nasso:matrix.orgnassoor does it just use the lockfile from the repo without creating another one17:49:48
@nasso:matrix.orgnassooh yeah17:49:50
@reckenrode:matrix.orgRandy EckenrodeI do. I have a GitHub Action that bumps it nighly.17:49:55
@reckenrode:matrix.orgRandy Eckenrode * 17:50:02
@nasso:matrix.orgnassookay thats cool i kinda wanna do that now17:50:11
@reckenrode:matrix.orgRandy EckenrodeOh, sorry. The lockfile is in the repo.17:50:19
@nasso:matrix.orgnasso yeah and darwin-rebuild doesn't need to create any local lockfile cuz its just using the one from the repo 17:50:45
@nasso:matrix.orgnassoholy shit i just had an idea17:51:40
@nasso:matrix.orgnasso could i do something like:
  1. a nasso/nixos-config flake with my system-wide configuration, no home-manager, nothing user-specific

  2. a nasso/nixos-config-personal flake, pulls nasso/nixos-config, adds my personal home-manager config and has primaryUser = "nasso", and when i darwin-switch it only affects my personal user account

  3. a nasso/nixos-config-work flake (in a private repo), pulls nasso/nixos-config, adds my home-manager config for my work user account, it sets primaryUser = "<work account username>", and when i darwin-switch it only affects that user account

17:57:52
@nasso:matrix.orgnasso this would let me make eveyrthing public except for nasso/nixos-config-work, which i dont necessarily want to share (yet) 17:59:10
@nasso:matrix.orgnassoand this sounds very modular and cool but idk i never seen any setup like that17:59:29
@reckenrode:matrix.orgRandy EckenrodeThat should work, but your source flake will need to export your config in a way the other flakes can consume it.17:59:31
@nasso:matrix.orgnassoyea17:59:37
@nasso:matrix.orgnasso it wouldn't necessarily be usable as a standalone nixos config, i might name it something like nasso/nixos-config-base or something idk 18:00:21
@reckenrode:matrix.orgRandy EckenrodePersonally, I’d just export it as a module you could enable in the dependent flakes. I’m not sure what the state of the art is for flake reuse because I don’t particularly like frameworks like that.18:00:33
@nasso:matrix.orgnassooh yeah You're Absolutely Right18:00:58
@nasso:matrix.orgnassoi dont even need a flake for it18:01:03
@nasso:matrix.orgnasso just a default.nix with whatever i want 18:01:21
@k900:0upti.meK900 @WeetHet thanks 19:12:33
@k900:0upti.meK900The qtdeclarative fix worked19:12:38
@k900:0upti.meK900Merging to staging now19:12:42
@emilazy:matrix.orgemilyuh19:13:53
@emilazy:matrix.orgemily K900: can you do the revert instead? 19:14:00
@k900:0upti.meK900I did the revert19:14:09
@k900:0upti.meK900Which is the fix19:14:13
@emilazy:matrix.orgemily there's no reason to replace sigtool with rcodesign here 19:14:15
@emilazy:matrix.orgemilyah ok19:14:16
@k900:0upti.meK900I have not seen the other fix19:14:18

Show newer messages


Back to Room ListRoom Version: 6