diff options
author | Richard Sent <richard@freakingpenguin.com> | 2024-12-04 15:59:34 -0500 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2024-12-06 20:09:28 +0100 |
commit | 1a17a0f90d340599f4f29775c100b44610bf87a8 (patch) | |
tree | b253d38d027789f6fafc318dbe6ead9a58a986af /CODE-OF-CONDUCT | |
parent | aa12068c91d40c568a44c8d2e36d2ee88ce79d84 (diff) | |
download | guix-1a17a0f90d340599f4f29775c100b44610bf87a8.tar.gz guix-1a17a0f90d340599f4f29775c100b44610bf87a8.zip |
services: wireguard: Add the bootstrap-private-key? field.
The syntax from using the private-key field is more convenient than writing a
custom PreUp command (more formatting and preshared keys). Instead of trying
to guess if private-key is/is not a file path, add an option to disable
bootstrapping while still using private-key.
* gnu/services/vpn.scm (<wireguard-configuration>): Add
bootstrap-private-key?.
(wireguard-activation): Check bootstrap-private-key? before bootstrapping.
* doc/guix.texi (VPN Services)[wireguard]: Document it.
Change-Id: I6ba71ad58b26743057a221a54a246369022f83a5
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'CODE-OF-CONDUCT')
0 files changed, 0 insertions, 0 deletions