update things

This commit is contained in:
zack 2025-07-27 16:17:28 -04:00
parent af6a3bce3e
commit 620f2867e2
Signed by: zoey
GPG key ID: 81FB9FECDD6A33E2
5 changed files with 404 additions and 269 deletions

View file

@ -10,25 +10,12 @@ with lib.custom; let
in {
options.services.vpn = with types; {
enable = mkBoolOpt false "Enable VPN service(s)";
mullvad = mkBoolOpt false "Enable Mullvad VPN Daemon";
};
config = mkIf cfg.enable {
services.mullvad-vpn = {
enable = cfg.mullvad;
enable = true;
package = nixos-stable.mullvad;
};
services.openvpn = {
servers = {
work = {
config = ''config /home/zoey/Downloads/zachary_myers.ovpn'';
updateResolvConf = true;
};
};
};
systemd.services.openvpn-work.wantedBy = lib.mkForce [];
};
}