From 66a8656ec99760bcc80619e6960a643a96bd664d Mon Sep 17 00:00:00 2001 From: chayleaf Date: Thu, 12 Dec 2024 22:44:51 +0700 Subject: [PATCH] nixmsi: enable waydroid --- system/hosts/nixmsi.nix | 1 + system/modules/impermanence.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/system/hosts/nixmsi.nix b/system/hosts/nixmsi.nix index 38361b8..4db48a9 100644 --- a/system/hosts/nixmsi.nix +++ b/system/hosts/nixmsi.nix @@ -186,6 +186,7 @@ man-pages man-pages-posix ]; documentation.dev.enable = true; + virtualisation.waydroid.enable = true; impermanence.directories = [ /secrets diff --git a/system/modules/impermanence.nix b/system/modules/impermanence.nix index 5a7f988..db98114 100644 --- a/system/modules/impermanence.nix +++ b/system/modules/impermanence.nix @@ -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