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:
teutat3s 2022-01-31 16:19:36 +01:00
parent 3cb0cd2e2e
commit f07010445e
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,6 @@
nur.overlay
agenix.overlay
nvfetcher.overlay
nix-dram.overlay
./pkgs/default.nix
];
};

View file

@ -85,7 +85,8 @@ in
};
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
autoOptimiseStore = true;