mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-14 19:53:07 +02:00
20 lines
355 B
Nix
20 lines
355 B
Nix
|
inputs: { config, pkgs, ... }: {
|
||
|
services.dnsmasq = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
server = [
|
||
|
"9.9.9.9"
|
||
|
"8.8.8.8"
|
||
|
];
|
||
|
listen-address = [
|
||
|
"192.168.100.35"
|
||
|
];
|
||
|
resolv-file = ''
|
||
|
${pkgs.writeText "$out/resolv.conf" ''
|
||
|
5.12.179.165 gra.phite.ro
|
||
|
''}
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|