summary refs log tree commit diff
diff options
context:
space:
mode:
authorAryeh Hillman <aryeh.hillman@gmail.com>2023-09-23 23:45:00 -0700
committerJörg Thalheim <Mic92@users.noreply.github.com>2023-09-24 13:24:27 +0200
commitb6766564edd0966cd9dc3c4ba4baaffc9413d9a0 (patch)
tree57c28cb54e657fd6c59e6b8c855260dd47f09ecd
parent4a785348750c5192edfb3a662d1437da43c1821e (diff)
downloadnixpkgs-b6766564edd0966cd9dc3c4ba4baaffc9413d9a0.tar
nixpkgs-b6766564edd0966cd9dc3c4ba4baaffc9413d9a0.tar.gz
nixpkgs-b6766564edd0966cd9dc3c4ba4baaffc9413d9a0.tar.bz2
nixpkgs-b6766564edd0966cd9dc3c4ba4baaffc9413d9a0.tar.lz
nixpkgs-b6766564edd0966cd9dc3c4ba4baaffc9413d9a0.tar.xz
nixpkgs-b6766564edd0966cd9dc3c4ba4baaffc9413d9a0.tar.zst
nixpkgs-b6766564edd0966cd9dc3c4ba4baaffc9413d9a0.zip
Update wg-quick.nix
Update wg-quick.nix such that a search for `WireGuard` in the `NixOS Options` section of search.nixos.org brings up the convenient `networking.wg-quick.interfaces.wg0.configFile` option.
-rw-r--r--nixos/modules/services/networking/wg-quick.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/wg-quick.nix b/nixos/modules/services/networking/wg-quick.nix
index 34210580f53..68e0e06d046 100644
--- a/nixos/modules/services/networking/wg-quick.nix
+++ b/nixos/modules/services/networking/wg-quick.nix
@@ -17,6 +17,8 @@ let
         type = with types; nullOr str;
         description = lib.mdDoc ''
           wg-quick .conf file, describing the interface.
+          Using this option can be a useful means of configuring WireGuard if
+          one has an existing .conf file.
           This overrides any other configuration interface configuration options.
           See wg-quick manpage for more details.
         '';