fix: multiple fixes
This commit is contained in:
22 files changed
+107
-92
No files matched your search
@@ -197,8 +197,8 @@ in
|
||||
awgOnly.config.environment.systemPackages;
|
||||
assert builtins.elem awgOnly.config.services.proxy-suite.amneziaWg.userspacePackage
|
||||
awgOnly.config.environment.systemPackages;
|
||||
assert awgOnly.config.services.proxy-suite.amneziaWg.toolsPackage.version == "3.1.20260812";
|
||||
assert awgOnly.config.services.proxy-suite.amneziaWg.userspacePackage.version == "3.1.20260828";
|
||||
assert pkgs.lib.versionAtLeast awgOnly.config.services.proxy-suite.amneziaWg.toolsPackage.version "3.1";
|
||||
assert pkgs.lib.versionAtLeast awgOnly.config.services.proxy-suite.amneziaWg.userspacePackage.version "3.1";
|
||||
assert pkgs.lib.hasInfix "cmd_awg" ctl.script;
|
||||
assert
|
||||
ctl.awgProfiles == [
|
||||
@@ -208,11 +208,11 @@ in
|
||||
true
|
||||
)
|
||||
(
|
||||
assert defaultPackages.config.services.proxy-suite.amneziaWg.toolsPackage.version == "3.1.20260812";
|
||||
assert pkgs.lib.versionAtLeast defaultPackages.config.services.proxy-suite.amneziaWg.toolsPackage.version "3.1";
|
||||
assert
|
||||
defaultPackages.config.services.proxy-suite.amneziaWg.userspacePackage.version == "3.1.20260828";
|
||||
pkgs.lib.versionAtLeast defaultPackages.config.services.proxy-suite.amneziaWg.userspacePackage.version "3.1";
|
||||
assert
|
||||
defaultPackages.config.services.proxy-suite.amneziaWg.kernelModulePackage.version == "3.1.20260812";
|
||||
pkgs.lib.versionAtLeast defaultPackages.config.services.proxy-suite.amneziaWg.kernelModulePackage.version "3.1";
|
||||
true
|
||||
)
|
||||
(
|
||||
|
||||
@@ -50,6 +50,12 @@ in
|
||||
assert subscriptionOnlyFixture.config.systemd.timers ? "proxy-suite-subscription-update";
|
||||
true
|
||||
)
|
||||
# A oneshot left active would swallow every later timer run.
|
||||
(
|
||||
assert
|
||||
!subscriptionOnlyFixture.config.systemd.services."proxy-suite-subscription-update".serviceConfig.RemainAfterExit;
|
||||
true
|
||||
)
|
||||
|
||||
# StateDirectory is set on the socks service.
|
||||
(
|
||||
|
||||
@@ -80,7 +80,9 @@ in
|
||||
|
||||
# Global TUN/TProxy bypass mark keeps relay traffic out of transparent capture.
|
||||
(
|
||||
assert tgWithGlobalTunServiceConfig.SocketMark == "4";
|
||||
assert !(tgWithGlobalTunServiceConfig ? SocketMark);
|
||||
assert pkgs.lib.hasInfix "\"system.slice/proxy-suite-tg-ws-proxy.service\" meta mark set 4" tgWithGlobalTunBypassUp;
|
||||
assert pkgs.lib.hasInfix "delete table inet proxy_suite_tg_ws_proxy" tgWithGlobalTunBypassDown;
|
||||
assert pkgs.lib.hasInfix "rule add pref 8999 fwmark 4 lookup main" tgWithGlobalTunBypassUp;
|
||||
assert pkgs.lib.hasInfix "rule del pref 8999 fwmark 4 lookup main" tgWithGlobalTunBypassDown;
|
||||
assert hasDirectIP tgWithGlobalTunRules "149.154.167.220";
|
||||
|
||||
Reference in new issue
Block a user