From 8d635e7cca4ae381ba8e53aa35a6b53b04081b23 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Wed, 29 May 2024 18:28:59 +0530 Subject: [PATCH] cleanup nix_path --- common/nix.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/nix.nix b/common/nix.nix index 05b7269..0362ca1 100644 --- a/common/nix.nix +++ b/common/nix.nix @@ -2,10 +2,9 @@ , pkgs , ... }: { - environment.etc."nix/inputs/nixpkgs".source = nixpkgs.outPath; nix = { package = pkgs.nixFlakes; - nixPath = [ "nixpkgs=/etc/nix/inputs/nixpkgs" ]; + nixPath = [ "nixpkgs=${nixpkgs}" ]; registry.nixpkgs.flake = nixpkgs; settings = { auto-optimise-store = true;