diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-16 10:43:33 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-16 10:43:33 +0200 |
commit | 566a5c33e86bfd2956867c8184728825e58817e5 (patch) | |
tree | 2e2d0c19a31e65f7455a317706a1a54576387ab2 /nixos/modules/system/boot/kernel.nix | |
parent | 8b7d73abba46e11d9df5e673f1afe37b87bbe22e (diff) | |
download | nixlib-566a5c33e86bfd2956867c8184728825e58817e5.tar nixlib-566a5c33e86bfd2956867c8184728825e58817e5.tar.gz nixlib-566a5c33e86bfd2956867c8184728825e58817e5.tar.bz2 nixlib-566a5c33e86bfd2956867c8184728825e58817e5.tar.lz nixlib-566a5c33e86bfd2956867c8184728825e58817e5.tar.xz nixlib-566a5c33e86bfd2956867c8184728825e58817e5.tar.zst nixlib-566a5c33e86bfd2956867c8184728825e58817e5.zip |
Set MODULE_DIR in systemd-load-modules.service
Diffstat (limited to 'nixos/modules/system/boot/kernel.nix')
-rw-r--r-- | nixos/modules/system/boot/kernel.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix index cff7c08579f4..a90d1f7c2aa4 100644 --- a/nixos/modules/system/boot/kernel.nix +++ b/nixos/modules/system/boot/kernel.nix @@ -249,6 +249,7 @@ in SuccessExitStatus = "0 1"; }; restartTriggers = [ kernelModulesConf ]; + environment.MODULE_DIR = "/run/booted-system/kernel-modules/lib/modules"; }; lib.kernelConfig = { |