Fix the boot.hardwareScan option

Fixes #95.
This commit is contained in:
Eelco Dolstra 2013-02-21 11:32:51 +01:00
parent f43729298d
commit 7b8958b6c5

View File

@ -86,6 +86,13 @@ let
${optionalString (!config.networking.usePredictableInterfaceNames) ''
ln -s /dev/null $out/80-net-name-slot.rules
''}
# If auto-configuration is disabled, then remove
# udev's 80-drivers.rules file, which contains rules for
# automatically calling modprobe.
${optionalString (!config.boot.hardwareScan) ''
ln -s /dev/null $out/80-drivers.rules
''}
''; # */
};