about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2019-08-06 16:34:30 +0000
committerGitHub <noreply@github.com>2019-08-06 16:34:30 +0000
commit666b291d193145735a3fed6514aa009ae04efdc7 (patch)
tree624d9974c27b7f8e02601c7e668607c78d6fbf2c /nixos/modules
parent4aab3c20c674f9b6bf98fb92d6fc08b3b2083054 (diff)
parentd6a490266261e5d0f8b2610d1629063c33b23064 (diff)
downloadnixlib-666b291d193145735a3fed6514aa009ae04efdc7.tar
nixlib-666b291d193145735a3fed6514aa009ae04efdc7.tar.gz
nixlib-666b291d193145735a3fed6514aa009ae04efdc7.tar.bz2
nixlib-666b291d193145735a3fed6514aa009ae04efdc7.tar.lz
nixlib-666b291d193145735a3fed6514aa009ae04efdc7.tar.xz
nixlib-666b291d193145735a3fed6514aa009ae04efdc7.tar.zst
nixlib-666b291d193145735a3fed6514aa009ae04efdc7.zip
Merge pull request #66073 from WilliButz/fix-unifi
nixos/unifi: create data directory with correct permissions
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/networking/unifi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/unifi.nix b/nixos/modules/services/networking/unifi.nix
index 9057a1e12b33..6239c88b7e41 100644
--- a/nixos/modules/services/networking/unifi.nix
+++ b/nixos/modules/services/networking/unifi.nix
@@ -148,7 +148,7 @@ in
 
     systemd.tmpfiles.rules = [
       "e '${stateDir}' 0700 unifi - - -"
-      "e '${stateDir}/data' 0700 unifi - - -"
+      "d '${stateDir}/data' 0700 unifi - - -"
     ];
 
     systemd.services.unifi = {