summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos
diff options
context:
space:
mode:
authorFelix Uhl <iFreilicht@users.noreply.github.com>2024-08-02 22:07:27 +0200
committerGitHub <noreply@github.com>2024-08-03 00:07:27 +0400
commit57d30c7a61d8fb3d8964a1f60c37f8f9c0b34a9c (patch)
tree5280a5248e91d98bc30c3a2cfff9db370a2be45a /pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos
parent129558261d9f1fb92c99f93ef259c698bc93db20 (diff)
nixos/wg-quick: add generatePrivateKeyFile option (#331253)
This option is already present in the wireguard module, but missing from the wg-quick module. This is very annoying, because it means you can't easily get a safe and valid configuration on first boot when using wg-quick. This change adds the same option with the same description text and the same script, but instead of generating an entire systemd unit dedicated to creating the key file, it adds the script as a PreUp script, which is a much simpler solution. I've tested this in my own configuration, and it does indeed work. wg-quick allows multiple PreUp scripts, which are run in order, and all PreUp scripts are run before the private key is read from disk, see `man wg-quick`.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos')
0 files changed, 0 insertions, 0 deletions