chore: add language annotation for bash
script
This commit is contained in:
parent
752f4ea454
commit
d0858c5547
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
mode = "077";
|
||||
rekeyFile = "${inputs.self}/secrets/home/jeeves/wireguard/key.age";
|
||||
generator = {
|
||||
script = { lib, pkgs, file, ... }: ''
|
||||
script = { lib, pkgs, file, ... }: /* bash */ ''
|
||||
priv=$(${pkgs.wireguard-tools}/bin/wg genkey)
|
||||
${pkgs.wireguard-tools}/bin/wg pubkey <<< "$priv" > ${lib.escapeShellArg (lib.removeSuffix ".age" file + ".pub")}
|
||||
echo "$priv"
|
||||
|
|
Loading…
Reference in a new issue