mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-11 16:49:22 +08:00
modules.services.xray.client: use coredns instead of dnsmasq
This commit is contained in:
@@ -37,7 +37,7 @@ inputs:
|
||||
xray.client =
|
||||
{
|
||||
xray.serverName = "xserver2.vps9.chn.moe";
|
||||
dnsmasq = { extraInterfaces = [ "enp3s0" ]; hosts."git.chn.moe" = "127.0.0.1"; };
|
||||
coredns = { extraInterfaces = [ "enp3s0" ]; hosts."git.chn.moe" = "127.0.0.1"; };
|
||||
};
|
||||
beesd."/".hashTableSizeMB = 10 * 128;
|
||||
postgresql.mountFrom = "ssd";
|
||||
|
||||
@@ -59,7 +59,7 @@ inputs:
|
||||
};
|
||||
};
|
||||
sshd = {};
|
||||
xray.client.dnsmasq =
|
||||
xray.client.coredns =
|
||||
{
|
||||
hosts = builtins.listToAttrs
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user