about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-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;