nixmsi: enable waydroid

This commit is contained in:
chayleaf 2024-12-12 22:44:51 +07:00
parent 1a8fd6c9fa
commit 66a8656ec9
Signed by: chayleaf
GPG key ID: 78171AD46227E68E
2 changed files with 3 additions and 0 deletions

View file

@ -186,6 +186,7 @@
man-pages man-pages-posix
];
documentation.dev.enable = true;
virtualisation.waydroid.enable = true;
impermanence.directories = [
/secrets

View file

@ -155,6 +155,8 @@ in {
{ directory = /var/lib/libvirt; user = "root"; group = "root"; mode = "0755"; }
] ++ lib.optionals config.virtualisation.libvirtd.qemu.swtpm.enable [
{ directory = /var/lib/swtpm-localca; user = "root"; group = "root"; mode = "0750"; }
] ++ lib.optionals config.virtualisation.waydroid.enable [
{ directory = /var/lib/waydroid; user = "root"; group = "root"; mode = "0755"; }
]) ++ cfg.directories);
files = map (x:
if builtins.isPath x then toString x