forked from mirrors/nixpkgs
nixos/waydroid: Misc fixes
* With the upgrade to waydroid to 1.2.0, dependencies that previously were shipped in the service's path have been moved to the waydroid package. * Make sure /var/lib/misc exists when starting waydroid. As required by dnsmasq
This commit is contained in:
parent
7bd96c43cf
commit
3186c367ce
|
@ -56,8 +56,6 @@ in
|
|||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
path = with pkgs; [ getent iptables iproute kmod nftables util-linux which ];
|
||||
|
||||
unitConfig = {
|
||||
ConditionPathExists = "/var/lib/waydroid/lxc/waydroid";
|
||||
};
|
||||
|
@ -68,6 +66,10 @@ in
|
|||
ExecStopPost = "${pkgs.waydroid}/bin/waydroid session stop";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/lib/misc 0755 root root -" # for dnsmasq.leases
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue