dotfiles/nixos/systems/grasshopper/networking.nix

23 lines
414 B
Nix
Raw Normal View History

{
pkgs,
lib,
secret,
...
}: let
in {
hardware = {
# needed for wlan0 to work (https://github.com/NixOS/nixpkgs/issues/115652)
enableRedistributableFirmware = pkgs.lib.mkForce false;
firmware = with pkgs; [
raspberrypiWirelessFirmware
];
};
networking = {
hostName = "grasshopper";
useDHCP = false;
interfaces.eth0.useDHCP = true;
firewall.enable = true;
};
}