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;