fix: set nix path manually
This commit is contained in:
parent
abeb97101e
commit
e45ae1b10d
1 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,8 @@ in {
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixVersions.latest;
|
package = pkgs.nixVersions.latest;
|
||||||
channel.enable = false;
|
channel.enable = false;
|
||||||
|
# The `flake:` syntax in `$NIX_PATH` seems to do some weird copying on Nix 2.24
|
||||||
|
nixPath = ["nixpkgs=${config.nixpkgs.flake.source}"];
|
||||||
|
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
@ -132,6 +134,7 @@ in {
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
|
flake.setNixPath = false;
|
||||||
overlays = [(import ../exprs/overlay.nix vencord)];
|
overlays = [(import ../exprs/overlay.nix vencord)];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue