mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 15:10:11 -05:00
16 lines
308 B
Nix
16 lines
308 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
options = {
|
|
platformio = {
|
|
enable = lib.mkEnableOption {
|
|
description = "Enable platformio";
|
|
default = false;
|
|
};
|
|
};
|
|
};
|
|
config = lib.mkIf (config.platformio.enable) {
|
|
environment.systemPackages = [
|
|
pkgs.platformio
|
|
];
|
|
};
|
|
}
|