This commit is contained in:
Lucy Hochkamp 2024-04-02 16:34:32 +02:00
parent 0188f55024
commit bee3835027
No known key found for this signature in database

View file

@ -52,7 +52,7 @@ with lib;
config = {
services.openvpn.servers.${name} = {
config = ''
config ${cfg.config.${name}}
config /host${cfg.config.${name}}
'';
up = "echo nameserver $nameserver | ${pkgs.openresolv}/sbin/resolvconf -m 0 -a $dev";
down = "${pkgs.openresolv}/sbin/resolvconf -d $dev";