Emily
b5b7888793
nix-tools: set $NIX_PATH
...
This will be important once most users are running `sudo
darwin-rebuild` and therefore not getting their environment’s
`$NIX_PATH` passed through.
2025-01-20 05:29:44 +00:00
Emily
02232f71c5
nix-tools: drop nixPackage
...
We already put `/nix/var/nix/profiles/default/bin` on the `$PATH`,
and whatever `nix.package` is set to already gets installed into
`/run/current-system/sw/bin`, so this is pointless.
2025-01-18 20:31:54 +00:00
isabel
c06794de03
feat: system.disableInstallerTools
2024-08-21 14:29:54 +01:00
Graham Christensen
09284ab00b
Install darwin-uninstall by default, which includes the 'empty' config it switches to
...
Co-Authored-By: Michael Hoang <enzime@users.noreply.github.com>
2023-11-16 17:47:24 +11:00
Michael Hoang
0dafe2170d
Add darwin-version
command
2023-07-14 23:06:46 +10:00
Michael Hoang
5288a72354
Allow flaky installation with darwin-rebuild
2023-07-11 18:59:05 +10:00
Michael Hoang
f70f90c422
flake: add packages.darwin-{option,rebuild}
2023-07-11 18:59:05 +10:00
Daiderd Jordan
cb37c35e33
fix darwin-option descriptions
...
Also drops the eval hacks in favour of jq.
2023-06-25 13:03:52 +02:00
Yonathan Randolph
2120245fc2
Fix #387 nix-rebuild --flake without XCode tools
...
Add nixpkgs git to PATH before /usr/bin/git so that when nix flake metadata invokes git, it does not invoke the XCode one.
2022-08-16 13:55:13 -07:00
Daiderd Jordan
a97f690dcc
darwin-rebuild: add jq to path for flakes
2020-11-15 15:42:39 +01:00
Daiderd Jordan
86fe053806
darwin: include nix in PATH
...
This makes rollbacks more reliable, previously you had to fix your PATH
before calling darwin-rebuild. This works now:
$ /nix/var/nix/profiles/system-866-link/sw/bin/darwin-rebuild switch -G 866
2018-01-14 22:24:36 +01:00
Daiderd Jordan
8708ebb796
move nix-tools out of nix expression
2016-12-12 17:34:43 +01:00