From 6e54e9253a28d1fe5c507b76ce45965c31ecab70 Mon Sep 17 00:00:00 2001 From: Jörg Thalheim Date: Sun, 1 Jul 2018 10:58:19 +0100 Subject: iwd: set statedir to /var/lib/iwd --- nixos/modules/services/networking/iwd.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos') diff --git a/nixos/modules/services/networking/iwd.nix b/nixos/modules/services/networking/iwd.nix index 344212ad8329..cfc536fc5b5f 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 ]; -- cgit 1.4.1