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";
|
||||||
|
}
|
@@ -13,6 +13,7 @@
|
|||||||
../common/configs/system/brightnessctl
|
../common/configs/system/brightnessctl
|
||||||
../common/configs/system/btrfs
|
../common/configs/system/btrfs
|
||||||
../common/configs/system/cpu
|
../common/configs/system/cpu
|
||||||
|
../common/configs/system/dnsmasq
|
||||||
../common/configs/system/documentation
|
../common/configs/system/documentation
|
||||||
../common/configs/system/docker
|
../common/configs/system/docker
|
||||||
../common/configs/system/getty
|
../common/configs/system/getty
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
../common/configs/system/btrfs
|
../common/configs/system/btrfs
|
||||||
../common/configs/system/cloudflared
|
../common/configs/system/cloudflared
|
||||||
../common/configs/system/cpu
|
../common/configs/system/cpu
|
||||||
|
../common/configs/system/dnsmasq
|
||||||
../common/configs/system/documentation
|
../common/configs/system/documentation
|
||||||
../common/configs/system/docker
|
../common/configs/system/docker
|
||||||
../common/configs/system/getty
|
../common/configs/system/getty
|
||||||
|
Reference in New Issue
Block a user