From 721e7499f3562e2c656485d8b676f3b8eae11bcd Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Wed, 17 Apr 2024 12:53:43 +0100 Subject: [PATCH] arhcive: use usb module instead of harcoded kconfig --- examples/arhcive.nix | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/examples/arhcive.nix b/examples/arhcive.nix index 5ed6ad1..7d30d91 100644 --- a/examples/arhcive.nix +++ b/examples/arhcive.nix @@ -28,34 +28,12 @@ in rec { ../modules/network ../modules/vlan ../modules/ssh + ../modules/usb.nix ../modules/watchdog ../modules/mount ]; hostname = "arhcive"; - kernel = { - config = { - USB = "y"; - USB_EHCI_HCD = "y"; - USB_EHCI_HCD_PLATFORM = "y"; - USB_OHCI_HCD = "y"; - USB_OHCI_HCD_PLATFORM = "y"; - USB_SUPPORT = "y"; - USB_COMMON = "y"; - USB_STORAGE = "y"; - USB_STORAGE_DEBUG = "n"; - USB_UAS = "y"; - USB_ANNOUNCE_NEW_DEVICES = "y"; - SCSI = "y"; - BLK_DEV_SD = "y"; - USB_PRINTER = "y"; - MSDOS_PARTITION = "y"; - EFI_PARTITION = "y"; - EXT4_FS = "y"; - EXT4_USE_FOR_EXT2 = "y"; - FS_ENCRYPTION = "y"; - }; - }; services.dhcpc = let iface = config.hardware.networkInterfaces.lan;