services: network-manager: Set LINUX_MODULE_DIRECTORY environment variable.
Fixes <https://issues.guix.gnu.org/62409>. * gnu/services/networking.scm (network-manager-shepherd-service): Set the LINUX_MODULE_DIRECTORY environment variable.master
parent
e682932636
commit
ef71e32909
|
@ -1248,7 +1248,11 @@ project's documentation} for more information."
|
||||||
"/lib/NetworkManager/VPN")
|
"/lib/NetworkManager/VPN")
|
||||||
;; Override non-existent default users
|
;; Override non-existent default users
|
||||||
"NM_OPENVPN_USER="
|
"NM_OPENVPN_USER="
|
||||||
"NM_OPENVPN_GROUP="))))
|
"NM_OPENVPN_GROUP="
|
||||||
|
;; Allow NetworkManager to find the modules.
|
||||||
|
(string-append
|
||||||
|
"LINUX_MODULE_DIRECTORY="
|
||||||
|
"/run/booted-system/kernel/lib/modules")))))
|
||||||
;; XXX: Despite the "online" name, this doesn't guarantee
|
;; XXX: Despite the "online" name, this doesn't guarantee
|
||||||
;; WAN connectivity, it merely waits for NetworkManager
|
;; WAN connectivity, it merely waits for NetworkManager
|
||||||
;; to finish starting-up. This is required otherwise
|
;; to finish starting-up. This is required otherwise
|
||||||
|
|
Reference in New Issue