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;