From e18801ad76e797b7d9d32c6c8789421e27d67273 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sat, 19 Jun 2021 11:30:02 -0400 Subject: [PATCH] Pre-configuration doesn't work on RPI --- hosts/raspberry/configuration.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/raspberry/configuration.nix b/hosts/raspberry/configuration.nix index e3ba86c..0751792 100644 --- a/hosts/raspberry/configuration.nix +++ b/hosts/raspberry/configuration.nix @@ -8,9 +8,15 @@ networking.interfaces.eth0.useDHCP = true; networking.interfaces.wlan0.useDHCP = true; - # Pre-configured wireless networks. - networking.wireless.networks.MyWiFi_5C1870.pskRaw = - "409b3c85fef1c5737f284d2f82f20dc6023e41804e862d4fa26265ef8193b326"; + networking.hosts = { + "192.168.3.105" = [ "gamingpc" ]; + # "" = [ "acernitro" ]; + "192.168.3.182" = [ "raspberry" ]; + # "" = [ "homecloud" ]; + # "" = [ "zero-one" ]; + # "" = [ "zero-two" ]; + # "" = [ "android" ]; + }; environment.systemPackages = [ pkgs.libraspberrypi