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 man-pages man-pages-posix
]; ];
documentation.dev.enable = true; documentation.dev.enable = true;
virtualisation.waydroid.enable = true;
impermanence.directories = [ impermanence.directories = [
/secrets /secrets

View file

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