724 current 2024-05-30 16:25:08 24.11.20240529.ad57eef 6.9.2-zen1 *
This commit is contained in:
parent
0a5255f169
commit
8316393729
1 changed files with 8 additions and 4 deletions
|
|
@ -16,12 +16,16 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.mullvad-vpn.enable = cfg.mullvad;
|
services.mullvad-vpn.enable = cfg.mullvad;
|
||||||
services.openvpn.servers = {
|
services.openvpn = {
|
||||||
|
servers = {
|
||||||
work = {
|
work = {
|
||||||
config = ''config /home/zack/Downloads/zachary_myers.ovpn'';
|
config = ''config /home/zack/Downloads/zachary_myers.ovpn'';
|
||||||
updateResolvConf = true;
|
updateResolvConf = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.services.openvpn-work.wantedBy = lib.mkForce [];
|
||||||
|
|
||||||
systemd.services."mullvad-daemon".postStart = let
|
systemd.services."mullvad-daemon".postStart = let
|
||||||
mullvad = config.services.mullvad-vpn.package;
|
mullvad = config.services.mullvad-vpn.package;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue