mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Set MODULE_DIR in systemd-load-modules.service
This commit is contained in:
parent
8b7d73abba
commit
566a5c33e8
@ -249,6 +249,7 @@ in
|
||||
SuccessExitStatus = "0 1";
|
||||
};
|
||||
restartTriggers = [ kernelModulesConf ];
|
||||
environment.MODULE_DIR = "/run/booted-system/kernel-modules/lib/modules";
|
||||
};
|
||||
|
||||
lib.kernelConfig = {
|
||||
|
Loading…
Reference in New Issue
Block a user