summaryrefslogtreecommitdiffstats
path: root/nixos/modules/config/zram.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-08-14 13:00:52 +0300
committerNikolay Amiantov <ab@fmap.me>2016-08-19 17:56:49 +0300
commit5ff6e98486adb1a3ff3f705bdc43216d3a885d73 (patch)
treee8e36c540e783fec13775b2a68ba72e7d1881e3d /nixos/modules/config/zram.nix
parentff227057931f5977352f7583b00f9d1f8cf43da5 (diff)
modprobe service: drop kmod wrapper
Diffstat (limited to 'nixos/modules/config/zram.nix')
-rw-r--r--nixos/modules/config/zram.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/zram.nix b/nixos/modules/config/zram.nix
index 019932b04e8d..ad41ad4f3d7c 100644
--- a/nixos/modules/config/zram.nix
+++ b/nixos/modules/config/zram.nix
@@ -8,7 +8,7 @@ let
devices = map (nr: "zram${toString nr}") (range 0 (cfg.numDevices - 1));
- modprobe = "${config.system.sbin.modprobe}/sbin/modprobe";
+ modprobe = "${pkgs.kmod}/bin/modprobe";
in