refactor: remove duplication

This commit is contained in:
FUFSoB committed 2026-09-18 21:39:18 +05:00
1 parent f7036f6075
commit 8a4ba2db6a
109 files changed
+2206 -3078

No files matched your search

+3 -4
View File
@@ -1,4 +1,5 @@
{
checkLib,
pkgs,
evalProxySuite,
baseModule,
@@ -7,6 +8,7 @@
}:
let
inherit (checkLib) ok;
generated = import ./read-generated.nix;
perAppRoutingTproxyFixture = evalProxySuite [
@@ -51,10 +53,7 @@ in
)
# -- perAppRouting: generated proxy-ctl script dispatches tproxy profiles through systemd slices --
(
assert pkgs.lib.hasInfix "PER_APP_ROUTING_TPROXY_ENABLED" perAppRoutingTproxyScript;
true
)
(ok (pkgs.lib.hasInfix "PER_APP_ROUTING_TPROXY_ENABLED" perAppRoutingTproxyScript))
# -- perAppRouting: app TProxy service and helper units are created --
(