summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/networking.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 4632498357..6ab313b97c 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -1248,7 +1248,11 @@ project's documentation} for more information."
"/lib/NetworkManager/VPN")
;; Override non-existent default users
"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
;; WAN connectivity, it merely waits for NetworkManager
;; to finish starting-up. This is required otherwise