summary refs log tree commit diff
path: root/nixos/modules/services/networking
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-02-24 02:05:30 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-02-24 02:05:30 +0200
commitae9d4faff9290044cdcd0c4ce91c65581e701259 (patch)
treee2cd3bd71c287e791a5c11c975c7a51744924f9f /nixos/modules/services/networking
parent19784ca4c9ac378539bdc535b02ae673ba6ba0b0 (diff)
parent7d37688d66bf830767ae39724406abd78347fcfb (diff)
downloadnixpkgs-ae9d4faff9290044cdcd0c4ce91c65581e701259.tar
nixpkgs-ae9d4faff9290044cdcd0c4ce91c65581e701259.tar.gz
nixpkgs-ae9d4faff9290044cdcd0c4ce91c65581e701259.tar.bz2
nixpkgs-ae9d4faff9290044cdcd0c4ce91c65581e701259.tar.lz
nixpkgs-ae9d4faff9290044cdcd0c4ce91c65581e701259.tar.xz
nixpkgs-ae9d4faff9290044cdcd0c4ce91c65581e701259.tar.zst
nixpkgs-ae9d4faff9290044cdcd0c4ce91c65581e701259.zip
Merge remote-tracking branch 'upstream/master' into staging
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r--nixos/modules/services/networking/tinc.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/tinc.nix b/nixos/modules/services/networking/tinc.nix
index adb80ea2984..e3c9b5282b8 100644
--- a/nixos/modules/services/networking/tinc.nix
+++ b/nixos/modules/services/networking/tinc.nix
@@ -178,6 +178,8 @@ in
         preStart = ''
           mkdir -p /etc/tinc/${network}/hosts
           chown tinc.${network} /etc/tinc/${network}/hosts
+          mkdir -p /etc/tinc/${network}/invitations
+          chown tinc.${network} /etc/tinc/${network}/invitations
 
           # Determine how we should generate our keys
           if type tinc >/dev/null 2>&1; then