From fd275f3004cfee33d7824382203ec20a9f60ed8f Mon Sep 17 00:00:00 2001 From: matt1432 Date: Fri, 15 Dec 2023 18:20:28 -0500 Subject: [PATCH] feat(nix): set nixPath to have channel based cmds use nixpkgs flake --- common/modules/global.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/modules/global.nix b/common/modules/global.nix index e2cbf07e..3c776505 100644 --- a/common/modules/global.nix +++ b/common/modules/global.nix @@ -1,8 +1,8 @@ {nixpkgs, ...}: { # Minimize dowloads of indirect nixpkgs flakes - nix.registry.nixpkgs = { - flake = nixpkgs; - exact = false; + nix = { + registry.nixpkgs.flake = nixpkgs; + nixPath = ["nixpkgs=${nixpkgs}"]; }; # Global hm settings