diff --git a/modules/services/networking/openvpn.nix b/modules/services/networking/openvpn.nix index 0d2025d9ce3..772a9509064 100644 --- a/modules/services/networking/openvpn.nix +++ b/modules/services/networking/openvpn.nix @@ -155,7 +155,11 @@ in ###### implementation config = mkIf cfg.enable { + jobs = listToAttrs (mapAttrsFlatten (name: value: nameValuePair "openvpn-${name}" (makeOpenVPNJob value name)) cfg.servers); + + environment.systemPackages = [ openvpn ]; + }; }