|
|
|
@ -228,7 +228,6 @@ in |
|
|
|
|
systemd.services."systemd-modules-load" = |
|
|
|
|
{ wantedBy = [ "multi-user.target" ]; |
|
|
|
|
restartTriggers = [ kernelModulesConf ]; |
|
|
|
|
environment.MODULE_DIR = "/run/booted-system/kernel-modules/lib/modules"; |
|
|
|
|
serviceConfig = |
|
|
|
|
{ # Ignore failed module loads. Typically some of the |
|
|
|
|
# modules in ‘boot.kernelModules’ are "nice to have but |
|
|
|
@ -238,10 +237,6 @@ in |
|
|
|
|
}; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
systemd.services.kmod-static-nodes = |
|
|
|
|
{ environment.MODULE_DIR = "/run/booted-system/kernel-modules/lib/modules"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
lib.kernelConfig = { |
|
|
|
|
isYes = option: { |
|
|
|
|
assertion = config: config.isYes option; |
|
|
|
|