From 4a8180940f31dd5c11da642c25bdf9b68b3aac36 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sat, 19 Jun 2021 14:39:51 -0400 Subject: [PATCH] Try HDMI compatibility --- README.org | 5 ++--- hosts/raspberry/hardware.nix | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index 9ab9890..207dcc9 100644 --- a/README.org +++ b/README.org @@ -696,14 +696,13 @@ This section is very much a work in progress. I have struggled to get this devic enable = true; version = 4; firmwareConfig = '' + hdmi_drive=2 + hdmi_force_hotplug=1 dtparam=sd_poll_once=on dtparam=audio=on ''; }; - # FIXME: Import hardware overlay. - services.xserver.videoDrivers = [ "fbdev"]; - sound.enable = true; hardware.pulseaudio.enable = true; hardware.enableRedistributableFirmware = true; diff --git a/hosts/raspberry/hardware.nix b/hosts/raspberry/hardware.nix index 8f69a87..eb1abee 100644 --- a/hosts/raspberry/hardware.nix +++ b/hosts/raspberry/hardware.nix @@ -22,14 +22,13 @@ enable = true; version = 4; firmwareConfig = '' + hdmi_drive=2 + hdmi_force_hotplug=1 dtparam=sd_poll_once=on dtparam=audio=on ''; }; - # FIXME: Import hardware overlay. - services.xserver.videoDrivers = [ "fbdev"]; - sound.enable = true; hardware.pulseaudio.enable = true; hardware.enableRedistributableFirmware = true;