about summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2016-08-15 19:01:44 -0400
committerShea Levy <shea@shealevy.com>2016-08-15 19:01:44 -0400
commit57b2d1e9b0dcdd1d25bd2d450174764b9417ffc1 (patch)
tree73a214240d657ab03d4b52c3ba6c61f6538e030d /nixos/modules/config
parent760b2b9048ea775c319cb348d74447a20dea513e (diff)
parentb067b5301104c7d09d86d69febaa423a49ce14c0 (diff)
downloadnixlib-57b2d1e9b0dcdd1d25bd2d450174764b9417ffc1.tar
nixlib-57b2d1e9b0dcdd1d25bd2d450174764b9417ffc1.tar.gz
nixlib-57b2d1e9b0dcdd1d25bd2d450174764b9417ffc1.tar.bz2
nixlib-57b2d1e9b0dcdd1d25bd2d450174764b9417ffc1.tar.lz
nixlib-57b2d1e9b0dcdd1d25bd2d450174764b9417ffc1.tar.xz
nixlib-57b2d1e9b0dcdd1d25bd2d450174764b9417ffc1.tar.zst
nixlib-57b2d1e9b0dcdd1d25bd2d450174764b9417ffc1.zip
Merge branch 'modprobe-fix' of git://github.com/abbradar/nixpkgs
Diffstat (limited to 'nixos/modules/config')
-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