8.nix-darwin/modules
Emily e25eeff158 nixpkgs: rebase module on latest NixOS
This is based on the current NixOS `nixpkgs` module, adjusted for the
nix-darwin context and without adding the options due for deprecation
in NixOS.

This gives us the ability to set the package set modularly through
`nixpkgs.pkgs` and builds up infrastructure for handling user-specified
Nixpkgs instantiations more robustly.

The cross-compilation options are currently not very useful due to
even Darwin->Darwin cross-compilation not being wholly functional
yet, but it looks feasible to build an `aarch64-darwin` system from
`x86_64-darwin` with some patching and it should be possible to make
cross-compilation more widely supported after the Darwin SDK situation
in Nixpkgs improves.

One casualty is the error for setting `nixpkgs.*` options when
overriding the package set. That could be ported over to this new
scheme, but it'd increase divergence with the NixOS module and reduce
cross-compatibility of configurations, so I lean towards adding it
upstream to NixOS if anything. (But if people want to keep it I can add
it back.)
2023-07-08 22:39:19 +01:00
..
documentation documentation: use feature test for docs generator 2023-07-08 21:04:34 +01:00
environment treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
examples templates.flake: add contents of simple.nix 2023-06-17 22:57:44 +10:00
fonts treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
launchd treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
lib treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
misc treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
networking treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
nix nixpkgs: rebase module on latest NixOS 2023-07-08 22:39:19 +01:00
programs treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
security treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
services tailscale: improve MagicDNS setup 2023-06-27 01:38:51 +10:00
system treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
time treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
users treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
alias.nix Update def and implementation of nix.package to match NixOS module 2022-08-16 10:41:51 -07:00
homebrew.nix treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
meta.nix treewide: convert all option docs to Markdown 2023-06-24 10:48:55 +01:00
module-list.nix add ipfs service 2023-06-18 00:44:04 -05:00