Files
nix-config/systems/aarch64-linux/pi5/networking.nix
mjallen18 f8e80bd44c network
2025-07-22 18:03:18 -05:00

18 lines
268 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;
};
};
}