Files
nix-config/systems/aarch64-linux/pi5/networking.nix
mjallen18 3d213c8769 nixfmt
2025-07-24 11:06:08 -05:00

19 lines
269 B
Nix
Executable File

{ lib, config, ... }:
let
hostname = "pi5";
in
{
# Networking configs
networking = {
hostName = hostname;
defaultGateway.address = "10.0.1.1";
nameservers = [ "10.0.1.1" ];
firewall = {
enable = true;
allowPing = true;
};
};
}