custom kernels
This commit is contained in:
parent
65791d602d
commit
9ff9e1df74
6 changed files with 369 additions and 2 deletions
9
hosts/TITAN/extras/custom-kernel.nix
Normal file
9
hosts/TITAN/extras/custom-kernel.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
boot.kernelPatches = lib.singleton {
|
||||
name = "custom-kernel-config-${config.networking.hostName}";
|
||||
patch = null;
|
||||
extraConfig = builtins.readFile ./kernel-config.txt;
|
||||
};
|
||||
}
|
217
hosts/TITAN/extras/kernel-config.txt
Normal file
217
hosts/TITAN/extras/kernel-config.txt
Normal file
|
@ -0,0 +1,217 @@
|
|||
HYPERVISOR_GUEST n
|
||||
PERF_EVENTS_INTEL_CSTATE n
|
||||
X86_IOPL_IOPERM n
|
||||
MICROCODE_INTEL n
|
||||
X86_SGX n
|
||||
X86_POWERNOW_K8 n
|
||||
X86_SPEEDSTEP_CENTRINO n
|
||||
X86_P4_CLOCKMOD n
|
||||
INTEL_IDLE n
|
||||
KVM_INTEL n
|
||||
CAN n
|
||||
CAIF n
|
||||
VMD n
|
||||
PCI_MESON n
|
||||
PCCARD n
|
||||
RAPIDIO n
|
||||
MHI_BUS_EP n
|
||||
GNSS n
|
||||
MTD n
|
||||
PARPORT n
|
||||
BLK_DEV_FD n
|
||||
BLK_DEV_SX8 n
|
||||
CDROM_PKTCDVD n
|
||||
ATA_OVER_ETH n
|
||||
AD525X_DPOT n
|
||||
IBM_ASM n
|
||||
PHANTOM n
|
||||
TIFM_7XX1 n
|
||||
ICS932S401 n
|
||||
HP_ILO n
|
||||
APDS9802ALS n
|
||||
ISL29003 n
|
||||
ISL29020 n
|
||||
SENSORS_TSL2550 n
|
||||
SENSORS_BH1770 n
|
||||
SENSORS_APDS990X n
|
||||
HMC6352 n
|
||||
DS1682 n
|
||||
LATTICE_ECP3_CONFIG n
|
||||
DW_XDATA_PCIE n
|
||||
XILINX_SDFEC n
|
||||
C2PORT n
|
||||
EEPROM_LEGACY n
|
||||
EEPROM_MAX6875 n
|
||||
EEPROM_IDT_89HPESX n
|
||||
TI_ST n
|
||||
SENSORS_LIS3_I2C n
|
||||
INTEL_MEI_ME n
|
||||
INTEL_MEI_TXE n
|
||||
VMWARE_VMCI n
|
||||
GENWQE n
|
||||
BCM_VK n
|
||||
CHR_DEV_ST n
|
||||
SCSI_FC_ATTRS n
|
||||
FUSION n
|
||||
FIREWIRE n
|
||||
FIREWIRE_NOSY n
|
||||
MACINTOSH_DRIVERS n
|
||||
NOZOMI n
|
||||
IPMI_DEVICE_INTERFACE n
|
||||
IPMI_SSIF n
|
||||
IPMI_IPMB n
|
||||
IPMI_WATCHDOG n
|
||||
IPMI_POWEROFF n
|
||||
IPMB_DEVICE_INTERFACE n
|
||||
APPLICOM n
|
||||
XILLYBUS n
|
||||
XILLYUSB n
|
||||
AGP n
|
||||
DRM_RADEON n
|
||||
DRM_NOUVEAU n
|
||||
DRM_I915 n
|
||||
DRM_VMWGFX n
|
||||
DRM_GMA500 n
|
||||
DRM_AST n
|
||||
DRM_MGAG200 n
|
||||
DRM_QXL n
|
||||
DRM_VIRTIO_GPU n
|
||||
DRM_ETNAVIV n
|
||||
DRM_CIRRUS_QEMU n
|
||||
ACCESSIBILITY n
|
||||
INFINIBAND n
|
||||
GREYBUS n
|
||||
XIAOMI_WMI n
|
||||
GIGABYTE_WMI n
|
||||
YOGABOOK_WMI n
|
||||
ACERHDF n
|
||||
ACER_WIRELESS n
|
||||
ACER_WMI n
|
||||
ADV_SWBUTTON n
|
||||
APPLE_GMUX n
|
||||
ASUS_LAPTOP n
|
||||
ASUS_WIRELESS n
|
||||
ASUS_WMI n
|
||||
ASUS_TF103C_DOCK n
|
||||
MERAKI_MX100 n
|
||||
EEEPC_LAPTOP n
|
||||
AMILO_RFKILL n
|
||||
FUJITSU_LAPTOP n
|
||||
FUJITSU_TABLET n
|
||||
HP_ACCEL n
|
||||
HP_WMI n
|
||||
IDEAPAD_LAPTOP n
|
||||
SENSORS_HDAPS n
|
||||
THINKPAD_ACPI n
|
||||
THINKPAD_LMI n
|
||||
INTEL_ATOMISP2_LED n
|
||||
INTEL_ATOMISP2_PM n
|
||||
INTEL_PMT_TELEMETRY n
|
||||
INTEL_PMT_CRASHLOG n
|
||||
MSI_LAPTOP n
|
||||
MSI_WMI n
|
||||
PCENGINES_APU2 n
|
||||
BARCO_P50_GPIO n
|
||||
SAMSUNG_LAPTOP n
|
||||
SAMSUNG_Q10 n
|
||||
ACPI_TOSHIBA n
|
||||
TOSHIBA_BT_RFKILL n
|
||||
TOSHIBA_HAPS n
|
||||
TOSHIBA_WMI n
|
||||
LG_LAPTOP n
|
||||
PANASONIC_LAPTOP n
|
||||
SONY_LAPTOP n
|
||||
SYSTEM76_ACPI n
|
||||
TOPSTAR_LAPTOP n
|
||||
MLX_PLATFORM n
|
||||
SIEMENS_SIMATIC_IPC n
|
||||
WINMATE_FM07_KEYS n
|
||||
CHROME_PLATFORMS n
|
||||
SURFACE_PLATFORMS n
|
||||
SOUNDWIRE n
|
||||
ATLAS_PH_SENSOR n
|
||||
ATLAS_EZO_SENSOR n
|
||||
BME680 n
|
||||
CCS811 n
|
||||
IAQCORE n
|
||||
PMS7003 n
|
||||
SCD30_CORE n
|
||||
SCD4X n
|
||||
SENSIRION_SGP30 n
|
||||
SENSIRION_SGP40 n
|
||||
SPS30_I2C n
|
||||
SPS30_SERIAL n
|
||||
SENSEAIR_SUNRISE_CO2 n
|
||||
VZ89X n
|
||||
AFE4403 n
|
||||
AFE4404 n
|
||||
MAX30100 n
|
||||
MAX30102 n
|
||||
AM2315 n
|
||||
DHT11 n
|
||||
HDC100X n
|
||||
HDC2010 n
|
||||
HID_SENSOR_HUMIDITY n
|
||||
HTS221 n
|
||||
HTU21 n
|
||||
SI7005 n
|
||||
SI7020 n
|
||||
ADIS16400 n
|
||||
ADIS16460 n
|
||||
ADIS16475 n
|
||||
ADIS16480 n
|
||||
BMI160_I2C n
|
||||
BMI160_SPI n
|
||||
FXOS8700_I2C n
|
||||
FXOS8700_SPI n
|
||||
KMX61 n
|
||||
INV_ICM42600_I2C n
|
||||
INV_ICM42600_SPI n
|
||||
INV_MPU6050_I2C n
|
||||
INV_MPU6050_SPI n
|
||||
IIO_ST_LSM6DSX n
|
||||
IIO_ST_LSM9DS0 n
|
||||
ABP060MG n
|
||||
BMP280 n
|
||||
DLHL60D n
|
||||
DPS310 n
|
||||
HID_SENSOR_PRESS n
|
||||
HP03 n
|
||||
ICP10100 n
|
||||
MPL115_I2C n
|
||||
MPL115_SPI n
|
||||
MPL3115 n
|
||||
MS5611 n
|
||||
MS5637 n
|
||||
IIO_ST_PRESS n
|
||||
T5403 n
|
||||
HP206C n
|
||||
ZPA2326 n
|
||||
IPACK_BUS n
|
||||
PHY_CAN_TRANSCEIVER n
|
||||
BCM_KONA_USB2_PHY n
|
||||
MCB n
|
||||
STM n
|
||||
INTEL_TH n
|
||||
FPGA n
|
||||
SIOX n
|
||||
SLIMBUS n
|
||||
PECI n
|
||||
REISERFS_FS n
|
||||
JFS_FS n
|
||||
GFS2_FS n
|
||||
OCFS2_FS n
|
||||
NILFS2_FS n
|
||||
ORANGEFS_FS n
|
||||
ADFS_FS n
|
||||
AFFS_FS n
|
||||
BEFS_FS n
|
||||
BFS_FS n
|
||||
EFS_FS n
|
||||
VXFS_FS n
|
||||
MINIX_FS n
|
||||
OMFS_FS n
|
||||
HPFS_FS n
|
||||
QNX4FS_FS n
|
||||
QNX6FS_FS n
|
||||
SYSV_FS n
|
|
@ -1,10 +1,11 @@
|
|||
{ config, pkgs, aspect, inputs, hosts, ... }:
|
||||
{ config, lib, pkgs, aspect, inputs, hosts, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./extras/cachix-upload-daemon.nix
|
||||
./extras/custom-kernel.nix
|
||||
./extras/ddcci-backlight.nix
|
||||
./extras/fbi-downloader.nix
|
||||
(import ../../users "desktop").users.max
|
||||
|
@ -25,6 +26,10 @@
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
boot.kernelPackages = lib.mkForce (pkgs.linuxPackagesFor (pkgs.linux_testing_bcachefs.override {
|
||||
ignoreConfigErrors = true;
|
||||
}));
|
||||
|
||||
networking.hostName = "TITAN";
|
||||
|
||||
time.timeZone = "Europe/Vienna";
|
||||
|
|
9
hosts/jericho/extras/custom-kernel.nix
Normal file
9
hosts/jericho/extras/custom-kernel.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
boot.kernelPatches = lib.singleton {
|
||||
name = "custom-kernel-config-${config.networking.hostName}";
|
||||
patch = null;
|
||||
extraConfig = builtins.readFile ./kernel-config.txt;
|
||||
};
|
||||
}
|
124
hosts/jericho/extras/kernel-config.txt
Normal file
124
hosts/jericho/extras/kernel-config.txt
Normal file
|
@ -0,0 +1,124 @@
|
|||
CAN n
|
||||
CAIF n
|
||||
AGP n
|
||||
DRM_NOUVEAU n
|
||||
DRM_VMWGFX n
|
||||
DRM_AST n
|
||||
DRM_MGAG200 n
|
||||
DRM_QXL n
|
||||
DRM_VIRTIO_GPU n
|
||||
DRM_ETNAVIV n
|
||||
DRM_CIRRUS_QEMU n
|
||||
ACCESSIBILITY n
|
||||
INFINIBAND n
|
||||
HYPERV n
|
||||
XEN_BALLOON n
|
||||
XEN_DEV_EVTCHN n
|
||||
XENFS n
|
||||
XEN_SYS_HYPERVISOR n
|
||||
XEN_GNTDEV n
|
||||
XEN_GRANT_DEV_ALLOC n
|
||||
XEN_PCIDEV_BACKEND n
|
||||
XEN_PVCALLS_FRONTEND n
|
||||
XEN_PVCALLS_BACKEND n
|
||||
XEN_SCSI_BACKEND n
|
||||
XEN_PRIVCMD n
|
||||
XEN_ACPI_PROCESSOR n
|
||||
GREYBUS n
|
||||
SOUNDWIRE n
|
||||
REISERFS_FS n
|
||||
JFS_FS n
|
||||
GFS2_FS n
|
||||
OCFS2_FS n
|
||||
NILFS2_FS n
|
||||
ORANGEFS_FS n
|
||||
ADFS_FS n
|
||||
AFFS_FS n
|
||||
BEFS_FS n
|
||||
BFS_FS n
|
||||
EFS_FS n
|
||||
JFFS2_FS n
|
||||
UBIFS_FS n
|
||||
VXFS_FS n
|
||||
MINIX_FS n
|
||||
OMFS_FS n
|
||||
HPFS_FS n
|
||||
QNX4FS_FS n
|
||||
QNX6FS_FS n
|
||||
SYSV_FS n
|
||||
KVM_AMD n
|
||||
XEN_PCIDEV_FRONTEND n
|
||||
VMD n
|
||||
PCI_MESON n
|
||||
PCCARD n
|
||||
RAPIDIO n
|
||||
GNSS n
|
||||
MTD n
|
||||
PARPORT n
|
||||
BLK_DEV_SX8 n
|
||||
CDROM_PKTCDVD n
|
||||
ATA_OVER_ETH n
|
||||
XEN_BLKDEV_FRONTEND n
|
||||
XEN_BLKDEV_BACKEND n
|
||||
FIREWIRE n
|
||||
FIREWIRE_NOSY n
|
||||
MACINTOSH_DRIVERS n
|
||||
FDDI n
|
||||
HIPPI n
|
||||
NET_SB1000 n
|
||||
SLIP n
|
||||
XEN_NETDEV_FRONTEND n
|
||||
XEN_NETDEV_BACKEND n
|
||||
VMXNET3 n
|
||||
DRM_RADEON n
|
||||
DRM_AMDGPU n
|
||||
MEMSTICK n
|
||||
ATLAS_PH_SENSOR n
|
||||
ATLAS_EZO_SENSOR n
|
||||
BME680 n
|
||||
CCS811 n
|
||||
IAQCORE n
|
||||
PMS7003 n
|
||||
SCD30_CORE n
|
||||
SCD4X n
|
||||
SENSIRION_SGP30 n
|
||||
SENSIRION_SGP40 n
|
||||
SPS30_I2C n
|
||||
SPS30_SERIAL n
|
||||
SENSEAIR_SUNRISE_CO2 n
|
||||
VZ89X n
|
||||
IIO_CROS_EC_SENSORS_CORE n
|
||||
AFE4403 n
|
||||
AFE4404 n
|
||||
MAX30100 n
|
||||
MAX30102 n
|
||||
AM2315 n
|
||||
DHT11 n
|
||||
HDC100X n
|
||||
HDC2010 n
|
||||
HID_SENSOR_HUMIDITY n
|
||||
HTS221 n
|
||||
HTU21 n
|
||||
SI7005 n
|
||||
SI7020 n
|
||||
ABP060MG n
|
||||
BMP280 n
|
||||
DLHL60D n
|
||||
DPS310 n
|
||||
HID_SENSOR_PRESS n
|
||||
HP03 n
|
||||
ICP10100 n
|
||||
MPL115_I2C n
|
||||
MPL115_SPI n
|
||||
MPL3115 n
|
||||
MS5611 n
|
||||
MS5637 n
|
||||
IIO_ST_PRESS n
|
||||
T5403 n
|
||||
HP206C n
|
||||
ZPA2326 n
|
||||
IPACK_BUS n
|
||||
PHY_CAN_TRANSCEIVER n
|
||||
MCB n
|
||||
FPGA n
|
||||
SIOX n
|
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./extras/custom-kernel.nix
|
||||
./extras/fprint.nix
|
||||
./extras/i915-dp-hdmi-always-full-color-patch.nix
|
||||
./extras/kernel-clr.nix
|
||||
|
@ -14,7 +15,9 @@
|
|||
++ aspect.sets.laptop
|
||||
++ (with aspect.modules; [ games ]);
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_5_19;
|
||||
boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_5_19.override {
|
||||
ignoreConfigErrors = true;
|
||||
});
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
Loading…
Reference in a new issue