Skip to content

DeterminateSystems/nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

‼️🚨 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.

Migrating

Migrating for nix-darwin users

Determinate Nix is fully compatible with nix-darwin.

To fix this issue:

  1. Install Determinate Nix with the macOS package from https://docs.determinate.systems/
  2. Set nix.enable = false in your nix-darwin configuration
  3. Delete the DeterminateSystems/nix reference from your flake inputs,
  4. Delete nix.darwinModules.default from your nix-darwin modules list
  5. Rebuild your nix-darwin configuration

Migrating for NixOS users

Determinate Nix is fully compatible with NixOS.

To fix this issue, please:

  1. Replace the DeterminateSystems/nix flake input with:
inputs.determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
  1. Replace the nix.nixosModules.default module in your NixOS modules list with:
determinate.nixosModules.default
  1. 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.

Migrating for home-manager users

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.

Further help

We're available to help!

Does this repo do anything?

Yes. This repository is used by nix-installer to get a recent working version of Nix from upstream.

About

Tracks the fallback paths for Nix, to allow upgrades on our schedule.

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages