feat: waydroid

This commit is contained in:
2025-08-22 23:27:12 +08:00
parent 3ef2f7da09
commit 475acb7fd1
3 changed files with 9 additions and 3 deletions

View File

@@ -69,6 +69,7 @@
chain input { chain input {
type filter hook input priority 0; policy drop; type filter hook input priority 0; policy drop;
iif lo accept iif lo accept
iifname waydroid0 accept
ct state invalid drop ct state invalid drop
ct state established,related accept ct state established,related accept
@@ -78,6 +79,9 @@
chain forward { chain forward {
type filter hook forward priority 0; policy drop; type filter hook forward priority 0; policy drop;
iifname waydroid0 accept
oifname waydroid0 accept
} }
} }
''; '';

View File

@@ -131,6 +131,8 @@ in
programs.wireshark.package = pkgs.wireshark; programs.wireshark.package = pkgs.wireshark;
users.users.${username}.extraGroups = [ "wireshark" ]; users.users.${username}.extraGroups = [ "wireshark" ];
virtualisation.waydroid.enable = true;
services.sunshine = { services.sunshine = {
enable = true; enable = true;
autoStart = true; autoStart = true;

File diff suppressed because one or more lines are too long