1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/nixos/modules
Felix Uhl 57d30c7a61
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`.
2024-08-03 00:07:27 +04:00
..
config nixos/xdg/portal: remove deprecated option gtkUsePortal 2024-07-31 11:27:11 +02:00
hardware Merge pull request #312403 from alois31/rtw88 2024-07-31 13:14:18 +02:00
i18n/input-method Merge pull request #310708 from importantblimp/180654 2024-07-14 00:02:13 +00:00
image nixos/repart-image: fix amend script 2024-07-10 11:40:40 +02:00
installer fix netboot image 2024-08-02 10:24:34 +02:00
misc nixos/mxisd: remove module 2024-07-12 11:44:59 +02:00
profiles Merge remote-tracking branch 'origin/master' into staging-next 2024-07-26 18:05:04 +02:00
programs Merge pull request #326385 from Pandapip1/init-nixos-immersed-vr 2024-08-02 11:30:57 +05:30
security nixos/pam: kwallet: add the forceRun option 2024-08-01 09:51:31 +05:30
services nixos/wg-quick: add generatePrivateKeyFile option (#331253) 2024-08-03 00:07:27 +04:00
system nixos/networkd: allow specifying FirewallMark mask 2024-08-01 22:22:01 +02:00
tasks
testing
virtualisation nixos/lxd: delegate cgroup to lxd 2024-07-31 13:49:58 +02:00
module-list.nix Merge pull request #326385 from Pandapip1/init-nixos-immersed-vr 2024-08-02 11:30:57 +05:30
rename.nix Merge pull request #251687 from martinetd/cryptpad 2024-07-26 09:21:51 +02:00