[Nix-dev] openvpn autostart

Mathijs Kwik mathijs at bluescreen303.nl
Sun Jan 15 12:42:10 CET 2012


Hi all,

I setup openvpn through configuration.nix, which works great.
However, I don't want my vpn to start automatically by default.
Since an upstart-job was created automatically, I figured I need to
override the job's startOn value.
So I tried:
jobs."openvpn-home".startOn = pkgs.lib.mkOverride 200 "";

I had to use string quoted because the job name contains a - sign, but
I think that's not the problem here.

Any suggestions?
Thanks,
Mathijs


More information about the nix-dev mailing list