cleanup nix_path

This commit is contained in:
Adithya 2024-05-29 18:28:59 +05:30
parent 3bea215b13
commit 8d635e7cca
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -2,10 +2,9 @@
, pkgs , pkgs
, ... , ...
}: { }: {
environment.etc."nix/inputs/nixpkgs".source = nixpkgs.outPath;
nix = { nix = {
package = pkgs.nixFlakes; package = pkgs.nixFlakes;
nixPath = [ "nixpkgs=/etc/nix/inputs/nixpkgs" ]; nixPath = [ "nixpkgs=${nixpkgs}" ];
registry.nixpkgs.flake = nixpkgs; registry.nixpkgs.flake = nixpkgs;
settings = { settings = {
auto-optimise-store = true; auto-optimise-store = true;