24 lines
459 B
Nix
24 lines
459 B
Nix
{ inputs, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
# inputs.nixos-hardware.nixosModules.raspberry-pi-4
|
|
];
|
|
|
|
nixpkgs.hostPlatform = "aarch64-linux";
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
|
|
|
# hardware = {
|
|
# raspberry-pi."4".apply-overlays-dtmerge.enable = true;
|
|
# deviceTree = {
|
|
# enable = true;
|
|
# filter = "*rpi-4-*.dtb";
|
|
# };
|
|
# };
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
libraspberrypi
|
|
raspberrypi-eeprom
|
|
];
|
|
}
|