Browse Source

Enable hardware overlay

main
parent
commit
b04ca1557a
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 8
      README.org
  2. 8
      hosts/raspberry/hardware.nix

8
README.org

@ -676,9 +676,9 @@ This section is very much a work in progress. I have struggled to get this devic
{ config, pkgs, lib, inputs, ... }: { config, pkgs, lib, inputs, ... }:
{ {
# imports = [
# inputs.nixos-hardware.nixosModules.raspberry-pi-4
# ];
imports = [
inputs.nixos-hardware.nixosModules.raspberry-pi-4
];
# boot.kernelPackages = pkgs.linuxPackages_rpi4; # boot.kernelPackages = pkgs.linuxPackages_rpi4;
boot.tmpOnTmpfs = true; boot.tmpOnTmpfs = true;
@ -706,7 +706,7 @@ This section is very much a work in progress. I have struggled to get this devic
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
# hardware.raspberry-pi."4".fkms-3d.enable = true;
hardware.raspberry-pi."4".fkms-3d.enable = true;
fileSystems = { fileSystems = {
"/" = { "/" = {

8
hosts/raspberry/hardware.nix

@ -2,9 +2,9 @@
{ config, pkgs, lib, inputs, ... }: { config, pkgs, lib, inputs, ... }:
{ {
# imports = [
# inputs.nixos-hardware.nixosModules.raspberry-pi-4
# ];
imports = [
inputs.nixos-hardware.nixosModules.raspberry-pi-4
];
# boot.kernelPackages = pkgs.linuxPackages_rpi4; # boot.kernelPackages = pkgs.linuxPackages_rpi4;
boot.tmpOnTmpfs = true; boot.tmpOnTmpfs = true;
@ -32,7 +32,7 @@
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
# hardware.raspberry-pi."4".fkms-3d.enable = true;
hardware.raspberry-pi."4".fkms-3d.enable = true;
fileSystems = { fileSystems = {
"/" = { "/" = {

Loading…
Cancel
Save