rearrange NOTE blocks

This commit is contained in:
Yan Lin 2026-01-24 20:10:55 +01:00
parent 1451b18083
commit 9d1c8f4064
9 changed files with 27 additions and 38 deletions

View file

@ -1,3 +1,6 @@
# NOTE: Private key file at: `/etc/wireguard/private.key` with mode 600
# Generate with: `wg genkey > /etc/wireguard/private.key`
{ config, pkgs, lib, ... }:
with lib;
@ -27,9 +30,6 @@ in
description = "UDP port to listen on (server mode only)";
};
# NOTE: Private key file: /etc/wireguard/private.key
# Generate with: wg genkey > /etc/wireguard/private.key
# Place on host with mode 0600 (auto-generated if missing)
privateKeyFile = mkOption {
type = types.str;
default = "/etc/wireguard/private.key";