mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 06:08:11 +09:00
ardino
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.my.applications.arduino;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.my.applications.arduino = {
|
||||||
|
enable = lib.mkEnableOption "Arduino development tools";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
arduino-cli # Arduino command-line interface
|
||||||
|
arduino-ide # Arduino IDE (GUI)
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./arduino.nix
|
||||||
./btop
|
./btop
|
||||||
./chrome.nix
|
./chrome.nix
|
||||||
./claude
|
./claude
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{ lib, config, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.my.features.dev.arduino;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.my.features.dev.arduino = {
|
||||||
|
enable = lib.mkEnableOption "Arduino development environment";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
my.applications.arduino.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./agent.nix
|
./agent.nix
|
||||||
|
./arduino.nix
|
||||||
./bun.nix
|
./bun.nix
|
||||||
./java.nix
|
./java.nix
|
||||||
./nix.nix
|
./nix.nix
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
my.features = {
|
my.features = {
|
||||||
dev = {
|
dev = {
|
||||||
agent.enable = true;
|
agent.enable = true;
|
||||||
|
arduino.enable = true;
|
||||||
nix.enable = true;
|
nix.enable = true;
|
||||||
python.enable = true;
|
python.enable = true;
|
||||||
bun.enable = true;
|
bun.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user