diff --git a/flake.lock b/flake.lock index 7708856..0e671f9 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/hosts/aristotle/configuration.nix b/hosts/aristotle/configuration.nix index 34d3253..c24c274 100644 --- a/hosts/aristotle/configuration.nix +++ b/hosts/aristotle/configuration.nix @@ -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 = {