mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
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.
This commit is contained in:
parent
e682932636
commit
ef71e32909
1 changed files with 5 additions and 1 deletions
|
@ -1248,7 +1248,11 @@ (define (network-manager-shepherd-service config)
|
||||||
"/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
|
||||||
|
|
Loading…
Reference in a new issue