about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-02-02 13:35:04 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-02-02 13:35:04 +0100
commitfd8b72694d426cb2dd5cacbc821caf081f7b56e2 (patch)
tree467e2043df2f3dc8ba3fdb3ba3d1abcab74f3f81
parent4b18df81b4a28a69c047e6f0ab17233e73ac2c6b (diff)
downloaddots-fd8b72694d426cb2dd5cacbc821caf081f7b56e2.tar.gz
dots-fd8b72694d426cb2dd5cacbc821caf081f7b56e2.zip
Add usbutils
-rw-r--r--machines/rpi3-amadeus/configuration.nix2
-rw-r--r--machines/x220/configuration.nix1
-rwxr-xr-xmachines/x220/hardware-configuration.nix4
3 files changed, 4 insertions, 3 deletions
diff --git a/machines/rpi3-amadeus/configuration.nix b/machines/rpi3-amadeus/configuration.nix
index 4d0174f..5a715f6 100644
--- a/machines/rpi3-amadeus/configuration.nix
+++ b/machines/rpi3-amadeus/configuration.nix
@@ -35,7 +35,7 @@
   swapDevices = [ { device = "/swapfile"; size = 1024; } ];
 
   environment.systemPackages = with pkgs; [
-    vim git curl wget
+    vim git curl wget usbutils
   ];
 
   users.users.pi = {
diff --git a/machines/x220/configuration.nix b/machines/x220/configuration.nix
index 18f600e..c98548f 100644
--- a/machines/x220/configuration.nix
+++ b/machines/x220/configuration.nix
@@ -45,6 +45,7 @@ in
     '';
 
     environment.systemPackages = with pkgs; [
+      usbutils
       discord
     # Basic tools
     groff file ssh-ident busybox_utils
diff --git a/machines/x220/hardware-configuration.nix b/machines/x220/hardware-configuration.nix
index c9d9e1d..cf9c47e 100755
--- a/machines/x220/hardware-configuration.nix
+++ b/machines/x220/hardware-configuration.nix
@@ -12,8 +12,8 @@
 
   boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ];
   boot.initrd.kernelModules = [ ];
-  boot.kernelModules = [ "kvm-intel" "tp_smapi" ];
-  boot.extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ];
+  boot.kernelModules = [ "kvm-intel" "tp_smapi" "v4l2loopback" ];
+  boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback tp_smapi ];
 
 
   boot.loader.grub.enable = true;