0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

nixos/wireguard-networkd: disable by default

Enabling networking.wireguard.useNetworkd currently requires users to
modify the permissions of their private key files. Since that is a bad
upgrade experience, the module should be disabled by default for now.
Once systemd credential support is added to the module, it should be
safe to once again enable it by default for networkd users.
This commit is contained in:
Majiir Paktu 2024-12-10 16:54:50 -05:00
parent 14281791dc
commit a93d42e97e
2 changed files with 2 additions and 3 deletions

View file

@ -96,8 +96,7 @@ in
options.networking.wireguard = {
useNetworkd = mkOption {
default = config.networking.useNetworkd;
defaultText = literalExpression "config.networking.useNetworkd";
default = false;
type = types.bool;
description = ''
Whether to use networkd as the network configuration backend for