🔧 (aurum/system) update networking options
This commit is contained in:
parent
1c12a27bc3
commit
e6ac5843a3
|
@ -1,18 +1,17 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
networking = {
|
# the name of the machine
|
||||||
# the name of the machine
|
networking.hostName = "aurum";
|
||||||
hostName = "aurum";
|
|
||||||
|
|
||||||
# domain name servers, use clouflare family
|
# domain name servers, use clouflare family
|
||||||
nameservers = ["1.1.1.2" "1.0.0.2"];
|
networking.nameservers = ["1.1.1.2" "1.0.0.2"];
|
||||||
|
|
||||||
# use networkManager, see nmcli
|
# firewall
|
||||||
networkmanager.enable = true;
|
networking.firewall.enable = true;
|
||||||
|
|
||||||
# firewall
|
# https://github.com/StevenBlack/hosts
|
||||||
firewall.enable = true;
|
networking.stevenblack.enable = true;
|
||||||
|
|
||||||
# https://github.com/StevenBlack/hosts
|
# use networkManager, see nmcli
|
||||||
stevenblack.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
};
|
users.users.laurent.extraGroups = ["networkmanager"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue