diff options
| author | Grigory Shepelev <shegeley@gmail.com> | 2025-09-05 16:59:59 +0300 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-09-06 18:04:04 +0900 |
| commit | 82e0ba892b1b0797c15b09c46d366141b0f4048f (patch) | |
| tree | 17a1a54715b84941b77b93fc7b519dfb46c448fd /gnu/services | |
| parent | 6e6335e0502336640e40444674eec73b4f782f82 (diff) | |
services: network-manager: Create /etc/ipsec.secrets directory in activation.
* gnu/services/networking.scm (network-manager-activation): Create the
/etc/ipsec.secrets directory.
Change-Id: Ib347cc00e7cbd314b2a465b5ee681285ba0d3115
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Modified-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu/services')
| -rw-r--r-- | gnu/services/networking.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index c5ebb1b6730..bc8257d3140 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm @@ -1484,7 +1484,10 @@ project's documentation} for more information." ,(file-union "network-manager-configuration-directory" extra-configuration-files) "/etc/NetworkManager/conf.d")) - '())))) + '()) + ;; Ensure "/etc/ipsec.secrets" exists, which is required by the + ;; nm-l2tp plugin. + (mkdir-p "/etc/ipsec.secrets")))) (define (vpn-plugin-directory plugins) "Return a directory containing PLUGINS, the NM VPN plugins." |
