mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
Added DNS server configuration
This commit is contained in:
parent
24d2c6bf88
commit
c0a929362c
1 changed files with 15 additions and 0 deletions
15
hosts/Alaska/dnsmasq.nix
Normal file
15
hosts/Alaska/dnsmasq.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.dnsmasq = {
|
||||||
|
enable = true;
|
||||||
|
servers = [
|
||||||
|
"1.1.1.1"
|
||||||
|
"1.0.0.1"
|
||||||
|
"8.8.8.8"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
networking.extraHosts = ''
|
||||||
|
10.0.0.114 NicksDesktop
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue