Merge pull request #80758 from ikervagyok/wg

nixos/wireguard: fix wireguard service as well after it got upstreamed
This commit is contained in:
Michele Guerini Rocco 2020-02-22 10:20:13 +01:00 committed by GitHub
commit 02bbaaddc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -435,7 +435,7 @@ in
message = "networking.wireguard.interfaces.${interfaceName} peer «${peer.publicKey}» has both presharedKey and presharedKeyFile set, but only one can be used."; message = "networking.wireguard.interfaces.${interfaceName} peer «${peer.publicKey}» has both presharedKey and presharedKeyFile set, but only one can be used.";
}) all_peers; }) all_peers;
boot.extraModulePackages = [ kernel.wireguard ]; boot.extraModulePackages = optional (versionOlder kernel.kernel.version "5.6") kernel.wireguard;
environment.systemPackages = [ pkgs.wireguard-tools ]; environment.systemPackages = [ pkgs.wireguard-tools ];
systemd.services = systemd.services =