Jump to content

Determite-nix: Difference between revisions

From Official NixOS Wiki
Onny (talk | contribs)
Initial page
 
Onny (talk | contribs)
Delete page
Tag: Blanking
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[https://docs.determinate.systems/determinate-nix/ Determinate Nix] is [https://determinate.systems 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 ==
<syntaxhighlight lang="nix">
{
  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
      ];
    };
  };
}
</syntaxhighlight>After that<syntaxhighlight lang="bash">
sudo nixos-rebuild \
  --option extra-substituters https://install.determinate.systems \
  --option extra-trusted-public-keys cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM= \
  --flake ... \
  switch
</syntaxhighlight>

Latest revision as of 03:36, 27 December 2025