2023-09-20 22:53:36 +00:00
|
|
|
{pkgs, lib, ...}:
|
2023-08-03 20:00:12 +00:00
|
|
|
{
|
|
|
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
|
|
|
sdImage.imageName = "orange.img";
|
|
|
|
|
2023-09-20 22:37:50 +00:00
|
|
|
boot.loader.raspberryPi.version = 4;
|
2023-09-20 22:53:36 +00:00
|
|
|
boot.supportedFilesystems = lib.mkForce [ "btrfs" "cifs" "f2fs" "jfs" "ntfs" "reiserfs" "vfat" "xfs" ];
|
2023-09-20 22:37:50 +00:00
|
|
|
|
|
|
|
hardware.raspberry-pi."4" = {
|
2023-09-20 22:53:36 +00:00
|
|
|
fkms-3d.enable = true;
|
|
|
|
apply-overlays-dtmerge.enable = true;
|
2023-09-20 22:37:50 +00:00
|
|
|
};
|
2023-09-20 22:53:36 +00:00
|
|
|
|
2023-09-20 22:37:50 +00:00
|
|
|
console.enable = false;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
libraspberrypi
|
|
|
|
raspberrypi-eeprom
|
|
|
|
];
|
2023-08-03 20:00:12 +00:00
|
|
|
|
|
|
|
networking.hostName = "orange";
|
|
|
|
}
|