Flakes: Difference between revisions

imported>Artturin
Link to manual
imported>Artturin
pinning registry
Line 325: Line 325:


{{warning|Remote building seems to be broken at the moment, which is why the build host is set to “localhost”.}}
{{warning|Remote building seems to be broken at the moment, which is why the build host is set to “localhost”.}}
== Pinning the registry to the system pkgs on NixOS ==
<syntaxHighlight lang=nix>
  nix.registry = {
    nixpkgs.to = {
      type = "path";
      path = pkgs.path;
    };
  };
</syntaxHighlight>


== Super fast nix-shell ==
== Super fast nix-shell ==