nixos/libreswan: add missing runtime dependencies
This commit is contained in:
parent
ad5b75dd71
commit
ff562459cc
@ -17,7 +17,7 @@ let
|
|||||||
else substring (head nonchars).ind (add 1 (sub (last nonchars).ind (head nonchars).ind)) str;
|
else substring (head nonchars).ind (add 1 (sub (last nonchars).ind (head nonchars).ind)) str;
|
||||||
indent = str: concatStrings (concatMap (s: [" " (trim [" " "\t"] s) "\n"]) (splitString "\n" str));
|
indent = str: concatStrings (concatMap (s: [" " (trim [" " "\t"] s) "\n"]) (splitString "\n" str));
|
||||||
configText = indent (toString cfg.configSetup);
|
configText = indent (toString cfg.configSetup);
|
||||||
connectionText = concatStrings (mapAttrsToList (n: v:
|
connectionText = concatStrings (mapAttrsToList (n: v:
|
||||||
''
|
''
|
||||||
conn ${n}
|
conn ${n}
|
||||||
${indent v}
|
${indent v}
|
||||||
@ -27,7 +27,7 @@ let
|
|||||||
''
|
''
|
||||||
config setup
|
config setup
|
||||||
${configText}
|
${configText}
|
||||||
|
|
||||||
${connectionText}
|
${connectionText}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -93,6 +93,9 @@ in
|
|||||||
"${pkgs.libreswan}"
|
"${pkgs.libreswan}"
|
||||||
"${pkgs.iproute}"
|
"${pkgs.iproute}"
|
||||||
"${pkgs.procps}"
|
"${pkgs.procps}"
|
||||||
|
"${pkgs.nssTools}"
|
||||||
|
"${pkgs.iptables}"
|
||||||
|
"${pkgs.nettools}"
|
||||||
];
|
];
|
||||||
|
|
||||||
wants = [ "network-online.target" ];
|
wants = [ "network-online.target" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user