🚀 supply vpn password automatically
parent
523864e984
commit
e394a4b7fb
|
@ -18,4 +18,10 @@
|
||||||
updateResolvConf = true;
|
updateResolvConf = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
systemd.services.openvpn-homeVPN-password = {
|
||||||
|
description = "Enter homeVPN password";
|
||||||
|
script = "cat /run/agenix/homeVPNPassword | systemd-tty-ask-password-agent";
|
||||||
|
wantedBy = [ "openvpn-homeVPN.service" ];
|
||||||
|
after = [ "openvpn-homeVPN.service" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue