Browse Source

Add network config

main
parent
commit
f64b603a02
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 2
      README.org
  2. 4
      hosts/raspberry/configuration.nix

2
README.org

@ -653,6 +653,8 @@ Deploy this configuration with ~sudo nixos-rebuild switch --flake /etc/dotfiles/
networking.interfaces.eth0.useDHCP = true;
networking.interfaces.wlan0.useDHCP = true;
<<host-config-wifi>>
environment.systemPackages = [
pkgs.libraspberrypi
pkgs.raspberrypi-eeprom

4
hosts/raspberry/configuration.nix

@ -8,6 +8,10 @@
networking.interfaces.eth0.useDHCP = true;
networking.interfaces.wlan0.useDHCP = true;
# Pre-configured wireless networks.
networking.wireless.networks.MyWiFi_5C1870.pskRaw =
"409b3c85fef1c5737f284d2f82f20dc6023e41804e862d4fa26265ef8193b326";
environment.systemPackages = [
pkgs.libraspberrypi
pkgs.raspberrypi-eeprom

Loading…
Cancel
Save