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
7becfcd913
commit
a4dbe4fa78
|
@ -71,7 +71,6 @@
|
||||||
nur.overlay
|
nur.overlay
|
||||||
agenix.overlay
|
agenix.overlay
|
||||||
nvfetcher.overlay
|
nvfetcher.overlay
|
||||||
nix-dram.overlay
|
|
||||||
./pkgs/default.nix
|
./pkgs/default.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -93,7 +93,7 @@ in
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
# use nix-dram, a patched nix command, see: https://github.com/dramforever/nix-dram
|
# use nix-dram, a patched nix command, see: https://github.com/dramforever/nix-dram
|
||||||
package = pkgs.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