summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-02-05 21:04:40 +0100
committerEelco Dolstra <edolstra@gmail.com>2018-02-05 21:04:40 +0100
commit1346923ffa144fa4b596588e1611c02694b48fba (patch)
tree1d9f7403951db09cbf38e44f04b5f8ebb8700a18 /nixos/modules/system
parente88f28965a7d76e83478d3ae6fcddc165b1c94f1 (diff)
downloadnixlib-1346923ffa144fa4b596588e1611c02694b48fba.tar
nixlib-1346923ffa144fa4b596588e1611c02694b48fba.tar.gz
nixlib-1346923ffa144fa4b596588e1611c02694b48fba.tar.bz2
nixlib-1346923ffa144fa4b596588e1611c02694b48fba.tar.lz
nixlib-1346923ffa144fa4b596588e1611c02694b48fba.tar.xz
nixlib-1346923ffa144fa4b596588e1611c02694b48fba.tar.zst
nixlib-1346923ffa144fa4b596588e1611c02694b48fba.zip
modprobe activation: Order after specialfs
It requires the existence of /proc.
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/modprobe.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/modprobe.nix b/nixos/modules/system/boot/modprobe.nix
index b915a98d5375..dee0ab470c99 100644
--- a/nixos/modules/system/boot/modprobe.nix
+++ b/nixos/modules/system/boot/modprobe.nix
@@ -54,7 +54,7 @@ with lib;
 
     environment.systemPackages = [ pkgs.kmod ];
 
-    system.activationScripts.modprobe =
+    system.activationScripts.modprobe = stringAfter ["specialfs"]
       ''
         # Allow the kernel to find our wrapped modprobe (which searches
         # in the right location in the Nix store for kernel modules).