aboutsummaryrefslogtreecommitdiff
path: root/modules/profiles/vpn/default.nix
blob: e3fc316f2cbfc6aef2ae00511bbd623039e18dc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  pkgs,
  ...
}:
{
  networking.nameservers = [ "9.9.9.9" ];
  services = {
    mullvad-vpn = {
      enable = true;
      package = pkgs.mullvad-vpn;
    };
    resolved = {
      enable = true;
      dnssec = "true";
      domains = [ "~." ];
      dnsovertls = "true";
    };
  };
}