NixOS/system/networking.nix

16 lines
457 B
Nix
Raw Permalink Normal View History

2023-12-21 19:57:54 +00:00
{ pkgs, lib, ... }:
let
settings = import ./../settings.nix;
in
{
networking.firewall.checkReversePath = false;
networking.hostName = settings.networking.hostname; # Define your hostname.
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Enable networking
networking.networkmanager.enable = true;
}