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

22 lines
413 B
Nix
Raw Normal View History

2023-12-15 15:18:36 +00:00
{...}: {
networking = {
# the name of the machine
hostName = "hydrogen";
# 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"];
# TODO: bouger ça à côté des applications
firewall = {
allowedTCPPorts = [
624 # ssh
80 # http
443 # https
];
};
};
}