🚀 supply vpn password automatically
This commit is contained in:
parent
523864e984
commit
e394a4b7fb
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue