commit 8724fb409a02612fab2cbee97fbb40e0404ebe01
parent e8ed52360f6780ada285bdfacffee2207c32e590
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 23 Mar 2020 08:33:29 +0100
nixos: wireguard.enable
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/tmp/nixos-configuration/modules/services/wireguard.client.nix b/tmp/nixos-configuration/modules/services/wireguard.client.nix
@@ -52,6 +52,7 @@ in
boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ];
environment.systemPackages = [ pkgs.wireguard ];
networking.firewall.trustedInterfaces = [ "wg0" ];
+ networking.wireguard.enable = true;
networking.wireguard.interfaces = {
wg0 = {
ips = cfg.ips;