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

18 lines
436 B
Nix
Raw Normal View History

2024-01-15 15:50:55 +00:00
{...}: {
# the name of the machine
networking.hostName = "aurum";
2024-01-15 15:50:55 +00:00
# domain name servers, use clouflare family
networking.nameservers = ["1.1.1.2" "1.0.0.2"];
2024-01-15 15:50:55 +00:00
# firewall
networking.firewall.enable = true;
2024-01-15 15:50:55 +00:00
# https://github.com/StevenBlack/hosts
networking.stevenblack.enable = true;
2024-01-15 15:50:55 +00:00
# use networkManager, see nmcli
networking.networkmanager.enable = true;
users.users.laurent.extraGroups = ["networkmanager"];
2024-01-15 15:50:55 +00:00
}