From ade373301b45337fa4e14e62dae051b377d07592 Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 17 Nov 2023 18:25:30 +0100 Subject: [PATCH] moved platformio packages to extra --- configuration.nix | 6 +----- extra/platformio.nix | 8 ++++++++ 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 extra/platformio.nix diff --git a/configuration.nix b/configuration.nix index 5e08e76..0a1ad1e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -21,6 +21,7 @@ in ./fonts.nix ./extra/dvd.nix ./extra/bluray.nix + ./extra/platformio.nix ]; hardware.bluetooth.enable = true; @@ -192,11 +193,6 @@ in sass - # embedded board development - platformio-core # toolchain manager for various microcontrollers - openocd # on-chip programming and debugging support - avrdude # esp32 and others support - devbox filelight ffmpeg-full diff --git a/extra/platformio.nix b/extra/platformio.nix new file mode 100644 index 0000000..10d773d --- /dev/null +++ b/extra/platformio.nix @@ -0,0 +1,8 @@ +{ pkgs, config, ... }: { + # embedded board development + environment.systemPackages = with pkgs; [ + platformio-core # toolchain manager for various microcontrollers + openocd # on-chip programming and debugging support + avrdude # esp32 and others support + ]; +}