nixpkgs/nixos/modules/services
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
..
accessibility nixos/speechd: avoid by default on headless systems 2024-07-28 12:16:12 +02:00
admin treewide: replace mkPackageOptionMD with mkPackageOption 2024-06-26 23:05:42 -04:00
amqp nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
audio treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
backup Merge pull request #319807 from hellodword/nixos-restic-add-unlock 2024-08-02 18:18:47 +02:00
blockchain/ethereum nixos/lighthouse: update networks for 5.2.0 2024-06-25 14:44:47 +00:00
cluster nixos/k3s: add test for airgap images import 2024-07-30 21:14:25 +02:00
computing nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
continuous-integration buildkite-agent: 3.59.0 -> 3.76.1 (#331340) 2024-08-02 21:59:32 +02:00
databases treewide: remove trailing space in description 2024-07-26 03:38:50 +02:00
desktop-managers nixos/lomiri: Add camera app 2024-07-30 13:26:09 +02:00
desktops nixos/espanso: add n8henrie to maintainers 2024-07-21 17:08:24 -06:00
development livebook: fix service not starting when LIVEBOOK_COOKIE was not set 2024-07-25 17:17:41 +01:00
display-managers treewide: big opengl cleanup 2024-06-16 14:11:33 +03:00
editors nixos/emacs: simplify the service's ExecStart line 2024-06-02 09:24:31 +03:00
finance modules/odoo: add autoInitExtraFlags 2024-07-19 11:51:57 +02:00
games Revert "nixos/archisteamfarm: fix crash when web-ui is disabled" 2024-07-26 16:27:19 +02:00
hardware treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
home-automation nixos/home-assistant: customComponents must use buildHomeAssistantComponent 2024-07-26 07:33:40 -07:00
logging nixos/graylog: add option dataDir 2024-07-05 01:49:12 +02:00
mail Merge pull request #279408 from alyssais/mailman-nginx-timeout 2024-07-19 17:56:07 +02:00
matrix Merge pull request #316977 from eclairevoyant/fix-mkEnableOption 2024-06-25 22:42:16 +02:00
misc Merge pull request #331187 from emilylange/forgejo 2024-08-01 15:07:21 +02:00
monitoring nixos/prometheus-smartctl-exporter: providing the path to the binary is no longer needed 2024-07-31 10:48:38 +02:00
network-filesystems Merge pull request #279917 from h7x4/nixos-module-update-add-samba-slice 2024-07-04 11:48:27 +02:00
networking nixos/wg-quick: add generatePrivateKeyFile option (#331253) 2024-08-03 00:07:27 +04:00
printing nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
scheduling nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
search nixos/tika: add enableOcr option 2024-07-17 13:14:35 +02:00
security treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
system nixos/cloud-init: Allow additional packages in cloud-init module 2024-07-02 19:19:56 +02:00
torrent Merge pull request #285299 from loispostula/patch-1 2024-07-01 10:55:55 +00:00
tracing nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
ttys nixos/kmscon: fix eval 2024-07-03 00:01:12 +02:00
video Merge remote-tracking branch 'origin/staging-next' into staging 2024-07-18 12:35:33 +02:00
wayland treewide: big opengl cleanup 2024-06-16 14:11:33 +03:00
web-apps Merge pull request #325644 from Stunkymonkey/sogo-chmod-install 2024-08-01 23:25:37 +02:00
web-servers nixos/fcgiwrap: require explicit owner for UNIX sockets 2024-07-31 11:03:06 +02:00
x11 Merge pull request #329199 from bobby285271/upd/cinnamon-by-name 2024-07-24 22:04:34 +08:00