infrastructure/hosts/cesium/system/networking.nix

25 lines
452 B
Nix
Raw Permalink Normal View History

2023-12-15 15:18:36 +00:00
{...}: {
networking = {
# the name of the machine
2024-01-12 16:02:47 +00:00
hostName = "cesium";
# the domain used for the machine
domain = "fainsin.bzh";
# domain name servers, use clouflare family
2023-12-15 15:18:36 +00:00
nameservers = ["1.1.1.2" "1.0.0.2"];
# firewall
firewall = {
enable = true;
allowedTCPPorts = [
80 # http
443 # tls
];
};
# https://github.com/StevenBlack/hosts
stevenblack.enable = true;
};
}