From 772b883c1d4418e6d59bb67bcce0188265c25ab8 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Thu, 17 Oct 2019 07:40:14 +1000 Subject: [PATCH] Added lsusb to Pi's --- Deployments/pi3B_rack.nix | 8 -------- Networks/raspberry_pi_rack.nix | 6 ++++++ 2 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 Deployments/pi3B_rack.nix diff --git a/Deployments/pi3B_rack.nix b/Deployments/pi3B_rack.nix deleted file mode 100644 index f78bb54..0000000 --- a/Deployments/pi3B_rack.nix +++ /dev/null @@ -1,8 +0,0 @@ -# Configuration common to all Raspberry Pi 3 Model B devices in the MIO rack - -{ config, pkgs, lib, ... }: - -{ - networking.wireless.enable = false; # Toggles wireless support via wpa_supplicant. - -} diff --git a/Networks/raspberry_pi_rack.nix b/Networks/raspberry_pi_rack.nix index 6ac39cb..0d6ba53 100644 --- a/Networks/raspberry_pi_rack.nix +++ b/Networks/raspberry_pi_rack.nix @@ -21,6 +21,8 @@ allowUnfree = true; }; + networking.wireless.enable = false; # Toggles wireless support via wpa_supplicant. + documentation = { nixos.enable = false; # Save some space by disabling the manual }; @@ -31,6 +33,10 @@ ]; }; + environment.systemPackages = with pkgs; [ + lsusb # Tools for working with USB devices, such as lsusb + ]; + }; pi-tri =