mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
feat(zackbiene): add hdmi kernel modules for latest kernel on odroid N2+
This commit is contained in:
parent
811e770cb0
commit
9028295fd5
2 changed files with 27 additions and 7 deletions
|
@ -20,13 +20,26 @@
|
|||
|
||||
boot.loader.grub.enable = false;
|
||||
boot.loader.generic-extlinux-compatible.enable = true;
|
||||
# Technically generic-extlinux-compatible doesn't support initrd secrets
|
||||
# but we are just referring to an existing file in /run using agenix,
|
||||
# so it is fine to pretend that it does have proper support.
|
||||
boot.loader.supportsInitrdSecrets = true;
|
||||
boot.initrd.availableKernelModules = ["usbhid" "usb_storage"]; # "dwmac_meson8b" "meson_dw_hdmi" "meson_drm"];
|
||||
boot.kernelParams = ["console=ttyAML0,115200n8" "console=tty0" "loglevel=7"];
|
||||
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_5_15;
|
||||
boot.initrd.availableKernelModules = [
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
# Ethernet
|
||||
"dwmac_generic"
|
||||
"dwmac_meson8b"
|
||||
"cfg80211"
|
||||
# HDMI
|
||||
"snd_soc_meson_g12a_tohdmitx"
|
||||
"snd_soc_meson_g12a_toacodec"
|
||||
"mdio_mux_meson_g12a"
|
||||
"dw_hdmi"
|
||||
"meson_vdec"
|
||||
"meson_dw_hdmi"
|
||||
"meson_drm"
|
||||
"meson_rng"
|
||||
"drm"
|
||||
"display_connector"
|
||||
];
|
||||
boot.kernelParams = ["console=ttyAML0,115200n8" "console=tty0"];
|
||||
console.earlySetup = true;
|
||||
|
||||
# Fails if there are not SMART devices
|
||||
|
|
|
@ -23,6 +23,13 @@
|
|||
libsoundtouch
|
||||
];
|
||||
};
|
||||
|
||||
# TODO set lat long etc here not manually
|
||||
# TODO HA and zigbee2mqtt behind nginx please
|
||||
# - auth for zigbee2mqtt
|
||||
# - auth for esphome dashboard
|
||||
# - only allow connections from privileged LAN to HA or from vpn range
|
||||
# TODO use password auth for mosquitto
|
||||
services.mosquitto = {
|
||||
enable = true;
|
||||
persistence = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue