diff options
author | Mihai-Drosi Câju <cajum.bugs@yandex.com> | 2021-10-09 10:07:54 +0300 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2022-03-25 19:51:41 -0700 |
commit | 3186c367cea0b0b23748f4b9620eac5d6a075049 (patch) | |
tree | cabcff2f63621ef6068bb4ed9026aeee6f543a3d /nixos/modules | |
parent | 7bd96c43cf54088e660967940f6d02056e0c0c8e (diff) | |
download | nixlib-3186c367cea0b0b23748f4b9620eac5d6a075049.tar nixlib-3186c367cea0b0b23748f4b9620eac5d6a075049.tar.gz nixlib-3186c367cea0b0b23748f4b9620eac5d6a075049.tar.bz2 nixlib-3186c367cea0b0b23748f4b9620eac5d6a075049.tar.lz nixlib-3186c367cea0b0b23748f4b9620eac5d6a075049.tar.xz nixlib-3186c367cea0b0b23748f4b9620eac5d6a075049.tar.zst nixlib-3186c367cea0b0b23748f4b9620eac5d6a075049.zip |
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
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/virtualisation/waydroid.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/virtualisation/waydroid.nix b/nixos/modules/virtualisation/waydroid.nix index 4fc798ff39f8..2c0b658948dd 100644 --- a/nixos/modules/virtualisation/waydroid.nix +++ b/nixos/modules/virtualisation/waydroid.nix @@ -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 + ]; }; } |