diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-14 13:01:14 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-08-16 00:19:25 +0300 |
commit | 1f639587729daf6c34535addbc35fd6e5c816ffc (patch) | |
tree | 2c9f6d40471e26eea0161294fe846bb32fe6a8ea /nixos/modules/system/boot/kernel.nix | |
parent | b2ebecd9e50471ec967ab9cdb2aba793d75cb747 (diff) | |
download | nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar.gz nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar.bz2 nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar.lz nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar.xz nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.tar.zst nixlib-1f639587729daf6c34535addbc35fd6e5c816ffc.zip |
nixos treewide: don't set MODULE_DIR
Diffstat (limited to 'nixos/modules/system/boot/kernel.nix')
-rw-r--r-- | nixos/modules/system/boot/kernel.nix | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix index a6bbca9b30bb..0f342f44fe76 100644 --- a/nixos/modules/system/boot/kernel.nix +++ b/nixos/modules/system/boot/kernel.nix @@ -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; |