summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-07-01 10:58:19 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-07-01 10:59:35 +0100
commit6e54e9253a28d1fe5c507b76ce45965c31ecab70 (patch)
treed98474003f701ef0754e11d3e20f9400cf3d79f8 /nixos/modules
parentf73aae6f95132cea40ae7844ac7a1307e9362fa9 (diff)
downloadnixpkgs-6e54e9253a28d1fe5c507b76ce45965c31ecab70.tar
nixpkgs-6e54e9253a28d1fe5c507b76ce45965c31ecab70.tar.gz
nixpkgs-6e54e9253a28d1fe5c507b76ce45965c31ecab70.tar.bz2
nixpkgs-6e54e9253a28d1fe5c507b76ce45965c31ecab70.tar.lz
nixpkgs-6e54e9253a28d1fe5c507b76ce45965c31ecab70.tar.xz
nixpkgs-6e54e9253a28d1fe5c507b76ce45965c31ecab70.tar.zst
nixpkgs-6e54e9253a28d1fe5c507b76ce45965c31ecab70.zip
iwd: set statedir to /var/lib/iwd
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/networking/iwd.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/iwd.nix b/nixos/modules/services/networking/iwd.nix
index 344212ad832..cfc536fc5b5 100644
--- a/nixos/modules/services/networking/iwd.nix
+++ b/nixos/modules/services/networking/iwd.nix
@@ -28,6 +28,10 @@ in {
 
       serviceConfig.ExecStart = "${pkgs.iwd}/libexec/iwd";
     };
+
+    systemd.tmpfiles.rules = [
+      "d /var/lib/iwd 0700 root root -"
+    ];
   };
 
   meta.maintainers = with lib.maintainers; [ mic92 ];