From e8265807a9ea6f7a65b1822c765359ee9ec9b610 Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 22 Jun 2023 23:34:15 +0000 Subject: [PATCH] NIX_PATH: point overlays to ~/nixos, not /nix/store/... --- hosts/common/nix-path/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/common/nix-path/default.nix b/hosts/common/nix-path/default.nix index 329c0049..0291fb6d 100644 --- a/hosts/common/nix-path/default.nix +++ b/hosts/common/nix-path/default.nix @@ -5,6 +5,9 @@ nix.nixPath = [ "nixpkgs=${pkgs.path}" # note the import starts at repo root: this allows `./overlay/default.nix` to access the stuff at the root - "nixpkgs-overlays=${../../..}/hosts/common/nix-path/overlay" + # "nixpkgs-overlays=${../../..}/hosts/common/nix-path/overlay" + # as long as my system itself doesn't rely on NIXPKGS at runtime, we can point the overlays to git + # to avoid switching so much during development + "nixpkgs-overlays=/home/colin/dev/nixos/hosts/common/nix-path/overlay" ]; }