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 7becfcd913
commit a4dbe4fa78
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 1 additions and 2 deletions

View file

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

View file

@ -93,7 +93,7 @@ in
nix = {
# 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
autoOptimiseStore = true;