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;
};
channel.enable = true;
registry = {
nixpkgs.to = {
type = "path";
path = pkgs.path;
};
};
nixPath = [ "nixpkgs=${nixpkgs}" ];
registry.nixpkgs.flake = nixpkgs;
gc = {
automatic = true;
options = "--delete-older-than 7d";