diff options
author | lassulus <lassulus@lassul.us> | 2018-12-18 22:29:56 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-12-18 22:29:56 +0100 |
commit | dc79107558105a3b6afb558f194965fcb3867542 (patch) | |
tree | de012539ac48a819dd86ac6ec48ddfd3461f9c4d /lass/2configs/wiregrill.nix | |
parent | adcb9ff179c296b683c80e5219d38659b4b36eb8 (diff) |
l wiregrill: remove newlines from pubkeys
Diffstat (limited to 'lass/2configs/wiregrill.nix')
-rw-r--r-- | lass/2configs/wiregrill.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/2configs/wiregrill.nix b/lass/2configs/wiregrill.nix index b2ee35df3..0183bd4e5 100644 --- a/lass/2configs/wiregrill.nix +++ b/lass/2configs/wiregrill.nix @@ -37,7 +37,7 @@ in mkIf (hasAttr "wiregrill" config.krebs.build.host.nets) { ; endpoint = mkIf (!isNull host.nets.wiregrill.via) (host.nets.wiregrill.via.ip4.addr + ":${toString host.nets.wiregrill.wireguard.port}"); persistentKeepalive = mkIf (!isNull host.nets.wiregrill.via) 61; - publicKey = host.nets.wiregrill.wireguard.pubkey; + publicKey = (replaceStrings ["\n"] [""] host.nets.wiregrill.wireguard.pubkey); }) (filterAttrs (_: h: hasAttr "wiregrill" h.nets) config.krebs.hosts); }; |