feat: awg runtime add

This commit is contained in:
fufsob committed 2026-09-28 18:51:47 +00:00
1 parent cd3aa5a53f
commit 364bed8d51
39 files changed
+1581 -190

No files matched your search

+2 -1
View File
@@ -151,8 +151,9 @@ in
assert cfg.users.groups ? proxy-suite-awg;
assert pkgs.lib.hasInfix "--fwmark 51820" awgKillSwitchPrepare;
assert pkgs.lib.hasInfix ''meta skgid "proxy-suite-awg" accept'' rules;
# And the one the profiles added at runtime share.
assert pkgs.lib.hasInfix
''oifname { "${cfg.services.proxy-suite.amneziaWg.profiles.home.interfaceName}" } accept''
''oifname { "${cfg.services.proxy-suite.amneziaWg.profiles.home.interfaceName}", "awg-rt" } accept''
rules;
assert pkgs.lib.hasInfix "meta mark { 1, 2, 51820 } accept" rules;
assert !(pkgs.lib.hasInfix "skgid" killSwitchNftRules);