From f64b603a0211223c4cb89aca8a402a51bb98a8e8 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sat, 19 Jun 2021 11:25:49 -0400 Subject: [PATCH] Add network config --- README.org | 2 ++ hosts/raspberry/configuration.nix | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/README.org b/README.org index 4c02947..c141749 100644 --- a/README.org +++ b/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; + <> + environment.systemPackages = [ pkgs.libraspberrypi pkgs.raspberrypi-eeprom diff --git a/hosts/raspberry/configuration.nix b/hosts/raspberry/configuration.nix index 8b91c35..e3ba86c 100644 --- a/hosts/raspberry/configuration.nix +++ b/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