summary refs log tree commit diff
path: root/nixos/modules/system/boot/kernel.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-18 14:48:04 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-18 14:51:18 +0200
commit359935a1ef8e4e76832a7db412521d31538e5dba (patch)
treefe7427935f2447abd8edee94661339e21d64cdf7 /nixos/modules/system/boot/kernel.nix
parent9bb40b7a5b05c61bceb200e770a58fc3250ce23a (diff)
downloadnixlib-359935a1ef8e4e76832a7db412521d31538e5dba.tar
nixlib-359935a1ef8e4e76832a7db412521d31538e5dba.tar.gz
nixlib-359935a1ef8e4e76832a7db412521d31538e5dba.tar.bz2
nixlib-359935a1ef8e4e76832a7db412521d31538e5dba.tar.lz
nixlib-359935a1ef8e4e76832a7db412521d31538e5dba.tar.xz
nixlib-359935a1ef8e4e76832a7db412521d31538e5dba.tar.zst
nixlib-359935a1ef8e4e76832a7db412521d31538e5dba.zip
kmod-static-nodes: Drop superfluous wantedBy
Diffstat (limited to 'nixos/modules/system/boot/kernel.nix')
-rw-r--r--nixos/modules/system/boot/kernel.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix
index 5e5b2abbb9ca..b81bcf20f439 100644
--- a/nixos/modules/system/boot/kernel.nix
+++ b/nixos/modules/system/boot/kernel.nix
@@ -237,8 +237,7 @@ in
       };
 
     systemd.services.kmod-static-nodes =
-      { wantedBy = [ "sysinit.target" ];
-        environment.MODULE_DIR = "/run/booted-system/kernel-modules/lib/modules";
+      { environment.MODULE_DIR = "/run/booted-system/kernel-modules/lib/modules";
       };
 
     lib.kernelConfig = {