summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSymphorien Gibol <symphorien+git@xlumurb.eu>2019-10-17 12:00:00 +0000
committerworldofpeace <worldofpeace@protonmail.ch>2019-10-18 19:49:56 -0400
commita37b9636f75a9850a792f639113b546410137b37 (patch)
tree1625e473ea7fb31ce0c4fb6c5747015724cb6444 /nixos
parentb54d23a3c081968ad22d4c48a1b1e130bc995ded (diff)
downloadnixpkgs-a37b9636f75a9850a792f639113b546410137b37.tar
nixpkgs-a37b9636f75a9850a792f639113b546410137b37.tar.gz
nixpkgs-a37b9636f75a9850a792f639113b546410137b37.tar.bz2
nixpkgs-a37b9636f75a9850a792f639113b546410137b37.tar.lz
nixpkgs-a37b9636f75a9850a792f639113b546410137b37.tar.xz
nixpkgs-a37b9636f75a9850a792f639113b546410137b37.tar.zst
nixpkgs-a37b9636f75a9850a792f639113b546410137b37.zip
networkmanager-fortisslvpn: create the local state directory
Otherwise connecting simply fails:
VPN connection: failed to connect: 'La création du fichier « /tmp/lib/NetworkManager-fortisslvpn/0507e3ef-f0e0-4153-af64-b3d9a025877c.config.XSB19Z » a échoué : No such file or directory'
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/networkmanager.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/networkmanager.nix b/nixos/modules/services/networking/networkmanager.nix
index 45dc36e3240..05a78d1c448 100644
--- a/nixos/modules/services/networking/networkmanager.nix
+++ b/nixos/modules/services/networking/networkmanager.nix
@@ -472,6 +472,7 @@ in {
     systemd.tmpfiles.rules = [
       "d /etc/NetworkManager/system-connections 0700 root root -"
       "d /etc/ipsec.d 0700 root root -"
+      "d /var/lib/NetworkManager-fortisslvpn 0700 root root -"
 
       "d /var/lib/dhclient 0755 root root -"
       "d /var/lib/misc 0755 root root -" # for dnsmasq.leases