There is a bug in the openvpn nixos module.  The line

          ${config.system.sbin.modprobe} tun || true

doesn't work because ${config.system.sbin.modprobe} evaluates to a directory and not an executable

I've patched this locally by replacing the above line with

          ${config.system.sbin.modprobe}/sbin/modprobe tun || true

but I'm not sure this is the correct fix. Someone who knows what they are doing ought to fix this. Maybe the expression ought to be fixed to evaluate to an executable instead of a directory.

--
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to