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"];
|
2024-01-07 19:11:48 +00:00
|
|
|
|
|
|
|
# firewall
|
|
|
|
firewall.enable = true;
|
|
|
|
|
|
|
|
# https://github.com/StevenBlack/hosts
|
|
|
|
stevenblack.enable = true;
|
2023-06-19 19:08:25 +00:00
|
|
|
};
|
|
|
|
}
|