✨ (neodymium/system) setup nameservers
This commit is contained in:
parent
42d74ddd66
commit
0c7e768235
|
@ -1,7 +1,10 @@
|
|||
{ lib, ... }: {
|
||||
# set hostname
|
||||
# the name of the machine
|
||||
networking.hostName = "neodymium";
|
||||
|
||||
# domain name servers, use clouflare family
|
||||
networking.nameservers = [ "1.1.1.2" "1.0.0.2" ];
|
||||
|
||||
# use networkManager, see nmcli
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
|
@ -20,6 +23,4 @@
|
|||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
imports = [ ./wireguard.nix ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue