feat: add outbound firewall to server & add helix and zellij
This commit is contained in:
parent
d273765b99
commit
7fcf26263a
23 changed files with 769 additions and 145 deletions
|
|
@ -9,6 +9,7 @@ let
|
|||
optionalString
|
||||
toUpper
|
||||
substring
|
||||
concatStringsSep
|
||||
;
|
||||
inherit (builtins) toJSON;
|
||||
in
|
||||
|
|
@ -98,4 +99,10 @@ in
|
|||
};
|
||||
|
||||
capitalize = text: "${toUpper (substring 0 1 text)}${substring 1 (-1) text}";
|
||||
|
||||
nftables = {
|
||||
mkElementsStatement =
|
||||
elements:
|
||||
optionalString (builtins.length elements > 0) "elements = { ${concatStringsSep "," elements} }";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue