🐛 aristotle: enable poe-hat support

This commit is contained in:
James Walker 2023-07-17 17:01:34 -04:00
parent 883e1e634d
commit 402bddec5d
Signed by: walkah
GPG Key ID: 3C127179D6086E93
2 changed files with 9 additions and 5 deletions

View File

@ -328,11 +328,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1689569955,
"narHash": "sha256-RF7/33M4MAhHiuyfkq15zeOJGWSZiOH4woRqPo+Z+N0=",
"lastModified": 1689601424,
"narHash": "sha256-WEqoSflQP65MF9O9k+JEkvUXMEoyCatmMAoLOowcEoE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7e212cc9752edacf28f3579440f9adf4c5e346ae",
"rev": "d0f2758381caca8b4fb4a6cac61721cc9de06bd9",
"type": "github"
},
"original": {

View File

@ -17,7 +17,11 @@
boot.loader.grub.enable = false;
# Enables the generation of /boot/extlinux/extlinux.conf
boot.loader.generic-extlinux-compatible.enable = true;
boot.kernelPackages = pkgs.linuxPackages_rpi4;
boot.kernelPackages = pkgs.linuxKernel.packages.linux_rpi4;
hardware.enableRedistributableFirmware = true;
hardware.raspberry-pi."4".poe-hat.enable = true;
# networking.hostName = "nixos"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -36,7 +40,7 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ0mE4MyMnfd1b2nlBJT7kpZ6Vov+ILuGNfzdp5ZBNQe walkah@walkah.net"
];
environment.systemPackages = with pkgs; [ libraspberrypi ];
environment.systemPackages = with pkgs; [ libraspberrypi raspberrypi-eeprom ];
services = {
prometheus = {