Apply all pending changes excluding .sops.yaml
This commit is contained in:
parent
7b04942bb2
commit
89929ac69a
20 changed files with 439 additions and 167 deletions
21
hosts/common/networking.nix
Normal file
21
hosts/common/networking.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
# Common networking configuration
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
enableIPv6 = true;
|
||||
useDHCP = false;
|
||||
dhcpcd.enable = false;
|
||||
};
|
||||
|
||||
# Firewall
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowPing = true;
|
||||
};
|
||||
|
||||
# DNS
|
||||
networking.nameservers = [
|
||||
"1.1.1.1"
|
||||
"8.8.8.8"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue