infrastructure/hosts/silicon/system/networking/default.nix

19 lines
370 B
Nix
Raw Normal View History

{...}: {
networking = {
# the name of the machine
2024-01-12 16:02:47 +00:00
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;
};
}