* OpenVPN: add it to the system path when enabled.

svn path=/nixos/trunk/; revision=24343
This commit is contained in:
Eelco Dolstra 2010-10-18 10:40:08 +00:00
parent 2bb4a618e2
commit 341698c367

View file

@ -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 ];
};
}