Determinate Nix: Difference between revisions
Appearance
m Noewaeda moved page Determinate-nix to Determinate Nix: Misspelled title: No need for the hyphen |
m Copyedit |
||
| Line 2: | Line 2: | ||
== Setup == | == Setup == | ||
Add the input <code>determinate</code> and the module <code>determinate.nixosModules.default</code> to your system flake.nix configuration<syntaxhighlight lang="nix">{ | |||
Add the input <code>determinate</code> and the module <code>determinate.nixosModules.default</code> to your system flake.nix configuration: | |||
<syntaxhighlight lang="nix">{ | |||
inputs.determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*"; | inputs.determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*"; | ||
inputs.nixpkgs.url = "nixpkgs/nixos-25.11"; | inputs.nixpkgs.url = "nixpkgs/nixos-25.11"; | ||
| Line 15: | Line 18: | ||
}; | }; | ||
}; | }; | ||
}</syntaxhighlight>After that add the two extra options to | }</syntaxhighlight> | ||
After that, add the two extra options to the nixos-rebuild command and apply changes: | |||
<syntaxhighlight lang="bash"> | |||
sudo nixos-rebuild \ | sudo nixos-rebuild \ | ||
--option extra-substituters https://install.determinate.systems \ | --option extra-substituters https://install.determinate.systems \ | ||
Revision as of 17:16, 26 September 2026
Determinate Nix is Determinate Systems’ enterprise‑grade, validated downstream distribution of NixOS/Nix that retains full compatibility with upstream Nix while adding performance‑boosting features such as parallel evaluation and lazy trees.
Setup
Add the input determinate and the module determinate.nixosModules.default to your system flake.nix configuration:
{
inputs.determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
inputs.nixpkgs.url = "nixpkgs/nixos-25.11";
outputs = { determinate, nixpkgs, ... }: {
nixosConfigurations.my-workstation = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
# Load the Determinate module
determinate.nixosModules.default
];
};
};
}
After that, add the two extra options to the nixos-rebuild command and apply changes:
sudo nixos-rebuild \
--option extra-substituters https://install.determinate.systems \
--option extra-trusted-public-keys cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM= \
--flake ... \
switch