summary refs log tree commit diff
path: root/nixos/modules/services/networking/fan.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/fan.nix')
-rw-r--r--nixos/modules/services/networking/fan.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/fan.nix b/nixos/modules/services/networking/fan.nix
index 3170567e5b4a..7f4e36478325 100644
--- a/nixos/modules/services/networking/fan.nix
+++ b/nixos/modules/services/networking/fan.nix
@@ -5,7 +5,7 @@ with lib;
 let
 
   cfg = config.networking.fan;
-  modprobe = "${config.system.sbin.modprobe}/sbin/modprobe";
+  modprobe = "${pkgs.kmod}/bin/modprobe";
 
 in