Compare commits

...

2 commits

Author SHA1 Message Date
chayleaf 66a8656ec9
nixmsi: enable waydroid 2024-12-12 22:44:51 +07:00
chayleaf 1a8fd6c9fa
nixmsi: disable auto gc 2024-12-10 20:57:51 +07:00
2 changed files with 4 additions and 0 deletions
system

View file

@ -74,6 +74,7 @@
### SECTION 2: SYSTEM CONFIG/ENVIRONMENT ###
nix.gc.automatic = lib.mkForce false;
networking.useDHCP = true;
# networking.firewall.enable = false;
networking.firewall.allowedTCPPorts = [
@ -185,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