diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-17 12:22:24 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-17 12:26:12 +0200 |
commit | 518f710547b92c3f3a5ef7fdf55be1e8cb66bea1 (patch) | |
tree | a5d708658c9c75a9223ef2a6d7456a1e3163b98f /nixos/modules/services/hardware/udev.nix | |
parent | 89155dbc01e899a08151e50c01e82ad469c5ad59 (diff) | |
download | nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.gz nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.bz2 nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.lz nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.xz nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.tar.zst nixpkgs-518f710547b92c3f3a5ef7fdf55be1e8cb66bea1.zip |
Fix module loading in systemd-udevd
Diffstat (limited to 'nixos/modules/services/hardware/udev.nix')
-rw-r--r-- | nixos/modules/services/hardware/udev.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/udev.nix b/nixos/modules/services/hardware/udev.nix index d218aa1e5e1..875de55b6c6 100644 --- a/nixos/modules/services/hardware/udev.nix +++ b/nixos/modules/services/hardware/udev.nix @@ -243,5 +243,10 @@ in fi ''; + systemd.services.systemd-udevd = + { baseUnit = "${config.systemd.package}/example/systemd/system/systemd-udevd.service"; + environment.MODULE_DIR = "/run/booted-system/kernel-modules/lib/modules"; + }; + }; } |