about summary refs log tree commit diff
path: root/machines/x220
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 /machines/x220
parent4b18df81b4a28a69c047e6f0ab17233e73ac2c6b (diff)
downloaddots-fd8b72694d426cb2dd5cacbc821caf081f7b56e2.tar.gz
dots-fd8b72694d426cb2dd5cacbc821caf081f7b56e2.zip
Add usbutils
Diffstat (limited to 'machines/x220')
-rw-r--r--machines/x220/configuration.nix1
-rwxr-xr-xmachines/x220/hardware-configuration.nix4
2 files changed, 3 insertions, 2 deletions
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;