Add split sas vpn tunneling
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
19
hosts/common/configs/system/dnsmasq/default.nix
Normal file
19
hosts/common/configs/system/dnsmasq/default.nix
Normal 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";
|
||||
}
|
Reference in New Issue
Block a user