infrastructure/hosts/cesium/system/networking.nix
Laureηt c70e047c9f
🚚 (cesium) rename <thing>/default.nix to thing.nix
 (cesium) add back gatus service
2024-10-06 16:24:21 +02:00

25 lines
452 B
Nix

{...}: {
networking = {
# the name of the machine
hostName = "cesium";
# the domain used for the machine
domain = "fainsin.bzh";
# domain name servers, use clouflare family
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;
};
}