2023-12-15 15:18:36 +00:00
|
|
|
{...}: {
|
2023-06-19 19:08:25 +00:00
|
|
|
networking = {
|
2023-11-29 14:35:23 +00:00
|
|
|
# the name of the machine
|
2023-06-19 19:08:25 +00:00
|
|
|
hostName = "hydrogen";
|
2023-11-29 14:35:23 +00:00
|
|
|
|
|
|
|
# the domain used for the machine
|
2023-06-19 19:08:25 +00:00
|
|
|
domain = "fainsin.bzh";
|
2023-11-29 14:35:23 +00:00
|
|
|
|
|
|
|
# domain name servers, use clouflare family
|
2023-12-15 15:18:36 +00:00
|
|
|
nameservers = ["1.1.1.2" "1.0.0.2"];
|
2023-11-29 14:35:23 +00:00
|
|
|
|
|
|
|
# TODO: bouger ça à côté des applications
|
2023-06-19 19:08:25 +00:00
|
|
|
firewall = {
|
|
|
|
allowedTCPPorts = [
|
2023-11-29 14:35:23 +00:00
|
|
|
624 # ssh
|
2023-06-19 19:08:25 +00:00
|
|
|
80 # http
|
|
|
|
443 # https
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|