mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: enable dnsmasq
This commit is contained in:
parent
c4a99482cf
commit
232e57415a
1 changed files with 12 additions and 0 deletions
12
hosts/lily/dns.nix
Normal file
12
hosts/lily/dns.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{ lib, config, ... }:
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
dnsmasq = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
cache-size = 10000;
|
||||||
|
server = [ "127.0.0.1#53" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue