dot.nix/hosts/global/core/networking.nix
Chris Toph 3523b82392 Configuration Cleanup
- Removed inaccurate comments
- Refactored browsers to independent nixes
- Small code changes for clarity
2025-05-29 15:25:49 -04:00

27 lines
560 B
Nix

{
pkgs,
lib,
config,
...
}:
{
networking = {
dhcpcd.enable = false;
hostName = config.hostSpec.hostName;
networkmanager.enable = true;
useDHCP = lib.mkDefault true;
useHostResolvConf = false;
usePredictableInterfaceNames = true;
hosts = {
"104.40.3.1" = [ "opn" ];
"104.40.3.3" = [ "pve" ];
"104.40.3.24" = [ "cloud" ];
"104.40.3.34" = [ "proxy" ];
"104.40.3.44" = [ "komodo" ];
"104.40.3.54" = [ "nix" ];
"104.40.4.1" = [ "opn" ];
"104.40.4.7" = [ "rune" ];
};
};
}