mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
added dnsmasq
This commit is contained in:
parent
6be9a15adf
commit
d30996fac4
1 changed files with 9 additions and 0 deletions
|
|
@ -94,6 +94,15 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 22 80 443 ];
|
allowedTCPPorts = [ 22 80 443 ];
|
||||||
};
|
};
|
||||||
|
nameservers = [ "127.0.0.1" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.dnsmasq = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
address = "/.ramos.codes/192.168.0.154";
|
||||||
|
server = [ "1.1.1.1" "8.8.8.8" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue