nix-config/modules/vpn/default.nix

18 lines
286 B
Nix

{ pkgs, ... }:
{
networking.nameservers = [ "9.9.9.9" ];
services = {
mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
};
resolved = {
enable = true;
dnssec = "true";
domains = [ "~." ];
dnsovertls = "true";
};
};
}