git.iko.soy/typeable/nixpkgs
on master help sign in
iwd: set statedir to /var/lib/iwd
commit6e54e9253a28d1fe5c507b76ce45965c31ecab70 authorJörg Thalheim <joerg@thalheim.io> dateSun 1 Jul 2018, 10:58 (8 years ago) parentf73aae6
2 files changed+5
nixos/modules/services/networking/iwd.nix+4 pkgs/os-specific/linux/iwd/default.nix+1
nixos/modules/services/networking/iwd.nix+4
@@ -28,6 +28,10 @@ in {
2828
2929 serviceConfig.ExecStart = "${pkgs.iwd}/libexec/iwd";
3030 };
31+
32+ systemd.tmpfiles.rules = [
33+ "d /var/lib/iwd 0700 root root -"
34+ ];
3135 };
3236
3337 meta.maintainers = with lib.maintainers; [ mic92 ];
pkgs/os-specific/linux/iwd/default.nix+1
@@ -35,6 +35,7 @@ in stdenv.mkDerivation rec {
3535
3636 configureFlags = [
3737 "--with-dbus-datadir=$(out)/etc/"
38+ "--localstatedir=/var"
3839 "--disable-systemd-service"
3940 ];
4041