diff --git a/boot/boot-stage-2-init.sh b/boot/boot-stage-2-init.sh index 9aa2aec7d9f..2c7e3532006 100644 --- a/boot/boot-stage-2-init.sh +++ b/boot/boot-stage-2-init.sh @@ -75,6 +75,7 @@ mount -t sysfs none /sys mount -t tmpfs -o "mode=0755" none /dev mkdir -m 0755 -p /dev/pts mount -t devpts none /dev/pts +mount -t usbfs none /proc/bus/usb needWritableDir /tmp 01777 needWritableDir /var 0755 needWritableDir /nix/var 0755 diff --git a/system/system.nix b/system/system.nix index 8978473c872..516e69a6ec7 100644 --- a/system/system.nix +++ b/system/system.nix @@ -244,6 +244,7 @@ rec { pkgs.time pkgs.udev pkgs.upstart + pkgs.usbutils pkgs.utillinux pkgs.wirelesstools nix