mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-27 02:26:14 +01:00
ee7fee6595
Signed-off-by: magic_rb <magic_rb@redalder.org>
23 lines
414 B
Nix
23 lines
414 B
Nix
{
|
|
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;
|
|
};
|
|
}
|