aboutsummaryrefslogtreecommitdiff
path: root/modules/profiles/vpn/default.nix
blob: 0482c3168215fcef4f1944e56735e49494ca1656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs, ... }:
{
  networking.nameservers = [ "9.9.9.9" ];

  services = {
    mullvad-vpn = {
      enable = true;
      package = pkgs.mullvad-vpn;
    };

    resolved = {
      enable = true;
      dnssec = "true";
      domains = [ "~." ];
      dnsovertls = "true";
    };
  };
}