Reference nix-dram package directly from inputs
This should avoid patches not working because our pkgs follows nixos = release-21.11 and nix-dram follows nixos-unstable
This commit is contained in:
parent
3cb0cd2e2e
commit
f07010445e
|
@ -81,7 +81,6 @@
|
||||||
nur.overlay
|
nur.overlay
|
||||||
agenix.overlay
|
agenix.overlay
|
||||||
nvfetcher.overlay
|
nvfetcher.overlay
|
||||||
nix-dram.overlay
|
|
||||||
./pkgs/default.nix
|
./pkgs/default.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -85,7 +85,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nix-dram;
|
# use nix-dram, a patched nix command, see: https://github.com/dramforever/nix-dram
|
||||||
|
package = inputs.nix-dram.packages.${pkgs.system}.nix-dram;
|
||||||
|
|
||||||
# Improve nix store disk usage
|
# Improve nix store disk usage
|
||||||
autoOptimiseStore = true;
|
autoOptimiseStore = true;
|
||||||
|
|
Loading…
Reference in a new issue