<dhess>
LnL: when I run `darwin-rebuild switch`, where does `pkgs` come from?
<dhess>
i.e., what's my nixpkgs?
<LnL>
the <nixpkgs> entry of nix.nixPath
<dhess>
LnL: <nixpkgs> from the current $NIX_PATH, or <nixpkgs> in the fixed point of the config.nix.nixPath that it's building?
<LnL>
I think the current, otherwise you can't bootstrap/override
<LnL>
with nixos it's simpler because the modules and packages are in the same repo
<dhess>
LnL: I've always used nixops to deploy my configs, so I've never been particularly clear on how tools like darwin-rebuild and nixos-rebuild work :)
<dhess>
LnL: darwin-rebuild switch is just a call to nix-env under the hood, is that right?
<LnL>
yes nix-build + nix-env --set
<LnL>
and the activation ofcorse
<dhess>
ok so presumably if I pass -I nixpkgs=... to `darwin-rebuild switch` it will use that nixpkgs rather than <nixpkgs> right?
<LnL>
yeah
<dhess>
ok thanks!
__Sander__ has quit [Quit: Konversation terminated!]
nikivi has quit [Remote host closed the connection]
nikivi has joined #nix-darwin
<dhess>
LnL: in nix-darwin, what's the process for setting nix.configureBuildUsers ? Should this be done only once?
<dhess>
i.e., does it need to be commented out after the first successful activation?
<gchristensen>
pretty sure it is idempotent
<dhess>
I think in the past it wasn't, but let me try it again
peacememories has joined #nix-darwin
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jacereda has joined #nix-darwin
<jacereda>
hi
<jacereda>
would it be good to have something like a config.allowXorg setting? Or is there a mechanism in place to forbid Xorg packages?
<jacereda>
and is there any established way to determine if the user prefers a X11 or a Quartz variant of a package?