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
main
Mihai-Drosi Câju 3 years ago committed by Cole Helbling
parent 7bd96c43cf
commit 3186c367ce
  1. 6
      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
];
};
}

Loading…
Cancel
Save