lol

Update nixos/modules/services/networking/libreswan.nix

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>

authored by

Felix Bühler
Robert Hensing
and committed by
GitHub
e7707372 7cc9ced7

+1 -1
+1 -1
nixos/modules/services/networking/libreswan.nix
··· 14 14 nonchars = filter (x : !(elem x.value chars)) 15 15 (imap0 (i: v: {ind = i; value = v;}) (stringToCharacters str)); 16 16 in 17 - lib.optionalString (length nonchars != 0) 17 + lib.optionalString (nonchars != [ ]) 18 18 (substring (head nonchars).ind (add 1 (sub (last nonchars).ind (head nonchars).ind)) str); 19 19 indent = str: concatStrings (concatMap (s: [" " (trim [" " "\t"] s) "\n"]) (splitString "\n" str)); 20 20 configText = indent (toString cfg.configSetup);