forked from mirrors/nixpkgs
* OpenVPN: add it to the system path when enabled.
svn path=/nixos/trunk/; revision=24343
This commit is contained in:
parent
2bb4a618e2
commit
341698c367
|
@ -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 ];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue