2024-01-07 19:11:48 +00:00
|
|
|
{...}: {
|
2024-01-07 19:12:57 +00:00
|
|
|
networking = {
|
2024-01-07 19:11:48 +00:00
|
|
|
# the name of the machine
|
2024-01-12 16:02:47 +00:00
|
|
|
hostName = "silicium";
|
2023-05-16 19:10:41 +00:00
|
|
|
|
2024-01-07 19:11:48 +00:00
|
|
|
# domain name servers, use clouflare family
|
|
|
|
nameservers = ["1.1.1.2" "1.0.0.2"];
|
2023-11-29 14:39:30 +00:00
|
|
|
|
2024-01-07 19:11:48 +00:00
|
|
|
# use networkManager, see nmcli
|
|
|
|
networkmanager.enable = true;
|
2023-05-16 19:10:41 +00:00
|
|
|
|
2024-01-07 19:11:48 +00:00
|
|
|
# firewall
|
|
|
|
firewall.enable = true;
|
2023-05-16 19:10:41 +00:00
|
|
|
|
2024-01-07 19:11:48 +00:00
|
|
|
# https://github.com/StevenBlack/hosts
|
|
|
|
stevenblack.enable = true;
|
2023-05-16 19:10:41 +00:00
|
|
|
};
|
|
|
|
}
|