nix-config/modules/vpn/default.nix

19 lines
286 B
Nix
Raw Normal View History

2024-11-10 17:54:08 -05:00
{ pkgs, ... }:
{
networking.nameservers = [ "9.9.9.9" ];
services = {
mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
};
resolved = {
enable = true;
dnssec = "true";
domains = [ "~." ];
dnsovertls = "true";
};
};
}