Fix setting nixpkgs to flake version (finally!!)

This commit is contained in:
Evie Litherland-Smith 2024-01-14 12:47:34 +00:00
parent 9bc8f51ac6
commit 6c27ad0a5e

View file

@ -70,13 +70,7 @@
auto-optimise-store = true; auto-optimise-store = true;
}; };
channel.enable = true; channel.enable = true;
registry = { registry.nixpkgs.flake = nixpkgs;
nixpkgs.to = {
type = "path";
path = pkgs.path;
};
};
nixPath = [ "nixpkgs=${nixpkgs}" ];
gc = { gc = {
automatic = true; automatic = true;
options = "--delete-older-than 7d"; options = "--delete-older-than 7d";