Skip to content

Instantly share code, notes, and snippets.

@FPtje
Created January 26, 2017 13:21
Show Gist options
  • Save FPtje/7b2eaf3afafebcdf34a02aecda54cb1e to your computer and use it in GitHub Desktop.
Save FPtje/7b2eaf3afafebcdf34a02aecda54cb1e to your computer and use it in GitHub Desktop.
Raspberry Pi NixOS kernel configs
linux_4_8 = pkgs.linux_4_8.override {
extraConfig =
''
AUDIT y
BLK_DEV y
BLK_DEV_DM m
BLK_DEV_DM_BUILTIN y
DM_CRYPT m
ECHAINIV m
I2C_ALGOPCA m
I2C_BCM2708 m
I2C_BCM2708_BAUDRATE 100000
I2C_DIOLAN_U2C m
I2C_OCORES m
I2C_PCA_PLATFORM m
I2C_ROBOTFUZZ_OSIF m
I2C_SI470X m
I2C_SI4713 m
I2C_SIMTEC m
I2C_TAOS_EVM m
I2C_TINY_USB m
I2C_VIPERBOARD m
INET m
INET y
INET6_AH m
INET6_ESP m
INET6_IPCOMP m
INET6_TUNNEL m
INET6_XFRM_MODE_BEET m
INET6_XFRM_MODE_ROUTEOPTIMIZATION m
INET6_XFRM_MODE_TRANSPORT m
INET6_XFRM_MODE_TUNNEL m
INET6_XFRM_TUNNEL m
INET_AH m
INET_DCCP_DIAG m
INET_DIAG m
INET_ESP m
INET_IPCOMP m
INET_LRO m
INET_TCP_DIAG m
INET_TUNNEL m
INET_UDP_DIAG m
INET_XFRM_MODE_BEET m
INET_XFRM_MODE_TRANSPORT m
INET_XFRM_MODE_TUNNEL m
INET_XFRM_TUNNEL m
INPUT_AD714X_I2C m
IP6_NF_FILTER m
IP6_NF_IPTABLES m
IP6_NF_MATCH_RPFILTER m
IP6_NF_RAW m
IP_ADVANCED_ROUTER m
IP_ADVANCED_ROUTER y
IP_MROUTE y
IP_MULTICAST y
IP_MULTIPLE_TABLES m
IP_MULTIPLE_TABLES y
IP_NF_ARP_MANGLE m
IP_NF_ARPFILTER m
IP_NF_ARPTABLES m
IP_NF_CONNTRACK m
IP_NF_FILTER m
IP_NF_FTP m
IP_NF_IPTABLES m
IP_NF_IRC m
IP_NF_MANGLE m
IP_NF_MATCH_AH m
IP_NF_MATCH_ECN m
IP_NF_MATCH_LIMIT m
IP_NF_MATCH_MAC m
IP_NF_MATCH_MARK m
IP_NF_MATCH_MULTIPORT m
IP_NF_MATCH_OWNER m
IP_NF_MATCH_RPFILTER m
IP_NF_MATCH_STATE m
IP_NF_MATCH_TCPMSS m
IP_NF_MATCH_TOS m
IP_NF_MATCH_TTL m
IP_NF_MATCH_UNCLEAN m
IP_NF_NAT m
IP_NF_RAW m
IP_NF_SECURITY m
IP_NF_TARGET_CLUSTERIP m
IP_NF_TARGET_ECN m
IP_NF_TARGET_LOG m
IP_NF_TARGET_MASQUERADE m
IP_NF_TARGET_NETMAP m
IP_NF_TARGET_REDIRECT m
IP_NF_TARGET_REJECT m
IP_NF_TARGET_SYNPROXY m
IP_NF_TARGET_TCPMSS m
IP_NF_TARGET_TTL m
IP_PIMSM_V1 y
IP_PIMSM_V2 y
IP_PNP y
IP_PNP_BOOTP y
IP_PNP_DHCP y
IP_PNP_RARP y
IP_ROUTE_MULTIPATH y
IP_ROUTE_VERBOSE y
IPV6 m
IPV6_MULTIPLE_TABLES y
MFD_ARIZONA_I2C m
NET_KEY m
NETFILTER m
NETFILTER y
NETFILTER_NETLINK m
NETFILTER_NETLINK_ACCT m
NETFILTER_NETLINK_LOG m
NETFILTER_NETLINK_QUEUE m
NETFILTER_XT_MATCH_CONNTRACK m
NETFILTER_XT_MATCH_PKTTYPE m
NETFILTER_XT_MATCH_POLICY m
NETFILTER_XT_MATCH_STATE m
NETFILTER_XT_TARGET_CONNSECMARK y
NETFILTER_XT_TARGET_LOG m
NETFILTER_XT_TARGET_NFLOG m
NETFILTER_XT_TARGET_SECMARK m
NETFILTER_XT_TARGET_TCPMSS m
NETFILTER_XTABLES m
NF_CONNTRACK m
NF_CONNTRACK_AMANDA m
NF_CONNTRACK_BROADCAST m
NF_CONNTRACK_FTP m
NF_CONNTRACK_H323 m
NF_CONNTRACK_IPV4 m
NF_CONNTRACK_IPV6 m
NF_CONNTRACK_IRC m
NF_CONNTRACK_LABELS y
NF_CONNTRACK_MARK y
NF_CONNTRACK_NETBIOS_NS m
NF_CONNTRACK_PPTP m
NF_CONNTRACK_PROC_COMPAT y
NF_CONNTRACK_PROCFS y
NF_CONNTRACK_SANE m
NF_CONNTRACK_SECMARK y
NF_CONNTRACK_SIP m
NF_CONNTRACK_SNMP m
NF_CONNTRACK_TFTP m
NF_CT_NETLINK m
NF_LOG_COMMON m
NF_LOG_IPV4 m
NF_LOG_IPV6 m
NF_TABLES_INET m
NFT_REJECT_INET m
PACKET m
PPP m
PPP_ASYNC m
PPP_BSDCOMP m
PPP_DEFLATE m
PPP_FILTER y
PPP_MPPE m
PPP_MULTILINK y
PPP_SYNC_TTY m
PPPOE m
SENSORS_LIS3_I2C m
SND_DMAENGINE_PCM m
SND_PCM m
SND_PCM_OSS m
SND_PCM_OSS_PLUGINS y
SND_PCM_TIMER y
SND_PCMCIA y
SND_SOC_PCM512x_I2C m
TOUCHSCREEN_AD7879_I2C m
TUN y
USB_SERIAL y
USB_SERIAL_AIRCABLE m
USB_SERIAL_ARK3116 m
USB_SERIAL_BELKIN m
USB_SERIAL_CH341 m
USB_SERIAL_CP210X m
USB_SERIAL_CYBERJACK m
USB_SERIAL_CYPRESS_M8 m
USB_SERIAL_DEBUG m
USB_SERIAL_DIGI_ACCELEPORT m
USB_SERIAL_EDGEPORT m
USB_SERIAL_EDGEPORT_TI m
USB_SERIAL_EMPEG m
USB_SERIAL_F81232 m
USB_SERIAL_FTDI_SIO m
USB_SERIAL_GARMIN m
USB_SERIAL_GENERIC y
USB_SERIAL_IPAQ m
USB_SERIAL_IPW m
USB_SERIAL_IR m
USB_SERIAL_IUU m
USB_SERIAL_KEYSPAN m
USB_SERIAL_KEYSPAN_PDA m
USB_SERIAL_KLSI m
USB_SERIAL_KOBIL_SCT m
USB_SERIAL_MCT_U232 m
USB_SERIAL_METRO m
USB_SERIAL_MOS7715_PARPORT y
USB_SERIAL_MOS7720 m
USB_SERIAL_MOS7840 m
USB_SERIAL_MXUPORT m
USB_SERIAL_NAVMAN m
USB_SERIAL_OMNINET m
USB_SERIAL_OPTICON m
USB_SERIAL_OPTION m
USB_SERIAL_OTI6858 m
USB_SERIAL_PL2303 m
USB_SERIAL_QCAUX m
USB_SERIAL_QT2 m
USB_SERIAL_QUALCOMM m
USB_SERIAL_SAFE m
USB_SERIAL_SIERRAWIRELESS m
USB_SERIAL_SIMPLE m
USB_SERIAL_SPCP8X5 m
USB_SERIAL_SSU100 m
USB_SERIAL_SYMBOL m
USB_SERIAL_TI m
USB_SERIAL_VISOR m
USB_SERIAL_WHITEHEAT m
USB_SERIAL_WISHBONE m
USB_SERIAL_WWAN m
USB_SERIAL_XIRCOM m
USB_SERIAL_XSENS_MT m
XFRM_USER m
'';
kernelPatches = [
{ patch = ./rpi3-dtb.patch; name = "rpi3-dtb"; }
];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment