Bailey Stevens
c733ae88f3
Overlay from https://github.com/NixOS/nixpkgs/issues/154163#issuecomment-1350599022 Disables ZFS to avoid rebuilding the kernel.
22 lines
513 B
Nix
22 lines
513 B
Nix
{pkgs, lib, ...}:
|
|
{
|
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
|
sdImage.imageName = "orange.img";
|
|
|
|
boot.loader.raspberryPi.version = 4;
|
|
boot.supportedFilesystems = lib.mkForce [ "btrfs" "cifs" "f2fs" "jfs" "ntfs" "reiserfs" "vfat" "xfs" ];
|
|
|
|
hardware.raspberry-pi."4" = {
|
|
fkms-3d.enable = true;
|
|
apply-overlays-dtmerge.enable = true;
|
|
};
|
|
|
|
console.enable = false;
|
|
environment.systemPackages = with pkgs; [
|
|
libraspberrypi
|
|
raspberrypi-eeprom
|
|
];
|
|
|
|
networking.hostName = "orange";
|
|
}
|