Add split sas vpn tunneling

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-02-13 22:16:55 +00:00
parent 9f1dd0001d
commit a23e4c6908
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{ ... }:
{
services.dnsmasq = {
enable = true;
settings = {
server = [
"1.1.1.1"
"1.0.0.1"
];
conf-dir = "/etc/dnsmasq.d,*.conf";
};
};
systemd.tmpfiles.rules = [ "d /etc/dnsmasq.d 0755 root resolvconf" ];
networking.networkmanager.dns = "dnsmasq";
}