infrastructure/hosts/silicon/system/networking/default.nix
2024-01-12 17:02:47 +01:00

19 lines
370 B
Nix

{...}: {
networking = {
# the name of the machine
hostName = "silicium";
# domain name servers, use clouflare family
nameservers = ["1.1.1.2" "1.0.0.2"];
# use networkManager, see nmcli
networkmanager.enable = true;
# firewall
firewall.enable = true;
# https://github.com/StevenBlack/hosts
stevenblack.enable = true;
};
}