‼️ 🚨 You probably want DeterminateSystems/determinate!
This repository used to provide NixOS, nix-darwin, and Home Manager modules for installing "Determinate Nix." However, it has always actually shipped Nix from upstream. Instead of making it silently switch users over to a different Nix, we've replaced the modules with assertions to help people move.
Determinate Nix is fully compatible with nix-darwin.
To fix this issue:
- Install Determinate Nix with the macOS package from https://docs.determinate.systems/
- Set
nix.enable = false
in your nix-darwin configuration - Delete the
DeterminateSystems/nix
reference from your flake inputs, - Delete
nix.darwinModules.default
from your nix-darwin modules list - Rebuild your nix-darwin configuration
Determinate Nix is fully compatible with NixOS.
To fix this issue, please:
- Replace the
DeterminateSystems/nix
flake input with:
inputs.determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
- Replace the
nix.nixosModules.default
module in your NixOS modules list with:
determinate.nixosModules.default
- Rebuild your NixOS configuration, passing some extra options so you don't have to compile Determinate Nix yourself:
sudo nixos-rebuild \
switch \
--option extra-substituters https://install.determinate.systems \
--option extra-trusted-public-keys cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM= \
--flake ...
For more details, see our installation guide.
Determinate Nix doesn't offer a home-manager module, because it must be configured at the host level.
Install or configure Determinate Nix on your system with our getting started documentation.
We're available to help!
- Reach out on Discord
- Contact support at [email protected]
Yes. This repository is used by nix-installer to get a recent working version of Nix from upstream.