summaryrefslogtreecommitdiff
path: root/pkgs
AgeCommit message (Collapse)Author
2023-01-09Merge pull request #550 from n8henrie/issue_549Domen Kožar
Add support for submodules in flakes
2022-12-14Add support for submodules in flakesNathan Henrie
Fixes https://github.com/LnL7/nix-darwin/issues/549
2022-12-08darwin-rebuild: fixing logic error in if statementsaccarosium
2022-12-08darwin-rebuild: use `--no-link` for flake buildssaccarosium
2022-10-10Fix darwin rebuild fails with flake and dry-runLightQuantum
2022-08-29Add `-H` to `sudo nix-env [...]` to deal with warningMalo Bourgon
After NixOS/nix#6676, the following warning is displayed when running `darwin-rebuild switch`: warning: $HOME ('/Users/jamie') is not owned by you, falling back to the one defined in the 'passwd' file.
2022-08-16Add .nix-defexpr to NIX_PATH the way the NixOS module doesMalo Bourgon
2022-08-16Move build user options to `nix` module to improve overlap with NixOSMalo Bourgon
Also add `config.ids` like in NixOS.
2022-03-26Merge pull request #340 from hauleth/fix/use-short-hostnameDomen Kožar
Use short hostname as flake attribute name
2022-02-04Don't reset experimental featuresSandro Stikić
2022-01-11move installer into a separate fileDomen Kožar
2021-12-21fix dependence on apfs.util exit codeTravis A. Everett
apfs.util (or at least it's newer -t flag) has bad exit code semantics and will return non-zero codes for both success and errors. Closes #401 and most-likely fixes #378 as well
2021-12-21uninstaller: copy services instead of symlinkingDaiderd Jordan
2021-10-23add forward compatibility for literalExample deprecationDaiderd Jordan
Fixes #367
2021-08-10uninstaller: also remove `~/Applications/Nix Apps`Kid
2021-07-09fix: use short hostname as flake attribute nameŁukasz Niemier
2021-04-06Merge pull request #308 from hardselius/masterDaiderd Jordan
Fix nix flake info error
2021-03-23Add nix flags to subcommand testMartin Hardselius
This change removes the need for having experimental-features = nix-command flakes in nix.conf. It should also work outside of flake directories.
2021-03-22Make nix flake info fix backwards compatibleMartin Hardselius
This change handles previous nix versions by testing for the presence of the `metadata` subcommand and falling back on the `info` subcommand if it does not exist.
2021-03-21Fix nix flake info errorMartin Hardselius
Fixes "error: 'info' is not a recognised command'" Issue: #307
2021-02-23darwin-[un]installer: Don't reference deprecated stdenv.libMario Rodas
`stdenv.lib` has been deprecated, and the correct approach is to use `lib` directly through `pkgs.lib`.
2020-12-22installer: silence apfs.util outputDaiderd Jordan
Passing incorrect flags prints help output to stdout so silence everything. Fixes #264
2020-12-21installer: move channel setup out of activationDaiderd Jordan
Fixes #234
2020-12-19installer: remove profile stepDaiderd Jordan
2020-12-18installer: extend test with shell environment checksDaiderd Jordan
2020-12-18installer: ensure /etc/static runs lastDaiderd Jordan
In the case that nix-darwin was installed for a single user installation and later nix gets reinstalled with the daemon it's possible that nix-daemon.sh loads afterwards, resulting in unexpected behaviour.
2020-11-15installer: handle apfs.util on macOS 11.0 Big SurDaiderd Jordan
The flages of apfs.util changed in 11.0 so try both cases. Fixes #249
2020-10-21always prefix flake with darwinConfigurationsDaiderd Jordan
2020-10-21handle --print-build-logs for flakesDaiderd Jordan
2020-10-21add --impure flag for flakesDaiderd Jordan
2020-10-21add example flake and support --flake in darwin-rebuildDaiderd Jordan
2020-08-26Merge pull request #215 from basvandijk/installer-correct-referenceesDaiderd Jordan
darwin-[un]installer: make sure all dependencies are part of the closure
2020-08-26Fix typoAlexandre Esteves
2020-08-21darwin-[un]installer: make sure all dependencies are part of the closureBas van Dijk
This makes sure the `darwin-installer` and `darwin-uninstaller` packages can be nix copied to any target and reliably be executed there.
2020-06-17darwin-installer: configure zshDaiderd Jordan
2020-05-17Only enable `services.nix-daemon` when no config is present upon installJames Ottaway
2020-03-28installer: try creating /run using synthetic.confDaiderd Jordan
Since macOS 10.15 Catalina / can't be changed directly anymore. Fixes #166
2020-02-03darwin-rebuild: allow empty argumentsDaiderd Jordan
The wrapper already handles whitespace properly and empty values are useful for certain flags like --option builders ''.
2019-12-14darwin-installer: add missing shebangDaiderd Jordan
Unclear in which conditions this does or doesn't work but using a shebang is best practice and ensures an ancient version of bash isn't used. Fixes #179
2019-07-01installer: detect multi-user installDaiderd Jordan
2019-07-01darwin-rebuild: fix checkDaiderd Jordan
2019-06-25darwin-installer: use --show-trace Domen Kožar
This saved me some debugging
2019-06-05darwin-rebuild: fix activate without an existing profileDaiderd Jordan
2019-06-05darwin-rebuild: add activate commandDaiderd Jordan
This command activates the current system again, mostly useful when the system was built on another host and substituted.
2019-06-05nix-script: removeDaiderd Jordan
2019-06-05nixos-rebuild: change default editor to viDaiderd Jordan
2019-06-05darwin-rebuild: fix quotingDaiderd Jordan
2019-05-01darwin-option: add support for -IDaiderd Jordan
2019-02-24darwin: replace usages of nix-instantiate --eval with --find-fileDaiderd Jordan
2019-02-21users: increase default nixbld users to 32 and set knownUsers by defaultDaiderd Jordan
Since the users.nix.configureBuildUsers target nixbld users, don't require them to be added to knownUsers explicitly.