# MAME arcade cabinet
# Raspberry Pi 400:
# - quad-core Cortex-A72 @ 1.8 GHz  (ARMv8-A 64; BCM2711)
# - 4GiB RAM
{ ... }:
{
  imports = [
    ./fs.nix
  ];

  sane.hal.rpi-400.enable = true;
  sane.roles.client = true;  # for WiFi creds

  # TODO: port to `sane.programs` interface
  services.xserver.desktopManager.kodi.enable = true;

  # /boot space is at a premium, especially with uncompressed kernels. default was 20.
  # boot.loader.generic-extlinux-compatible.configurationLimit = 10;
}
