commit 721e7499f3562e2c656485d8b676f3b8eae11bcd parent fc723b9a354bb6f61098410544758e5d0e3e5813 Author: Daniel Barlow <dan@telent.net> Date: Wed, 17 Apr 2024 12:53:43 +0100 arhcive: use usb module instead of harcoded kconfig Diffstat:
| M | examples/arhcive.nix | | | 24 | +----------------------- |
1 file changed, 1 insertion(+), 23 deletions(-)
diff --git 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;