From bab272ff03c368bf0f4f33f40ebfbce27f6f569d Mon Sep 17 00:00:00 2001 From: reidlab Date: Fri, 1 Mar 2024 22:53:17 -0800 Subject: [PATCH] pin nixpkgs --- default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/default.nix b/default.nix index b42b9a8..c34f1f9 100755 --- a/default.nix +++ b/default.nix @@ -12,6 +12,12 @@ in { ++ (mapModulesRec' (toString ./modules) import); nix = { + package = pkgs.nix; + + # flake registry and nix path pinning + nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; + registry.nixpkgs.flake = inputs.nixpkgs; + settings = { experimental-features = [ "nix-command" "flakes" ]; auto-optimise-store = true;