nix-config/modules/nix/ide/arduino.nix
2025-07-21 13:55:23 +02:00

16 lines
318 B
Nix

{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.arduino.enable = mkOption {
type = types.bool;
default = false;
description = "arduino ide";
};
config = mkIf config.smayzy.arduino.enable {
environment.systemPackages = with pkgs; [ arduino-ide ];
};
}