nixos-combined-flake/modules/nixos/base/raspberry-pi/default.nix

12 lines
294 B
Nix

{ pkgs, lib, config, ... }: {
options = {
hardware.raspberry-pi.enable = lib.mkEnableOption "raspberry pi software";
};
config = lib.mkIf config.hardware.raspberry-pi.enable {
environment.systemPackages = with pkgs; [
#libraspberrypi
#raspberrypi-eeprom
];
};
}