Add Arduino support, dialout group, and Zed skill
- Enable the Arduino IDE flatpak and add it to the system modules list. - Add the user to the `dialout` group for serial device access. - Include a new Zed skill configuration that fetches a remote skill file.
This commit is contained in:
@@ -11,6 +11,7 @@ _: {
|
|||||||
warehouse.enable = true; # Flatpak manager
|
warehouse.enable = true; # Flatpak manager
|
||||||
flatseal.enable = true; # Flatpak permissions manager
|
flatseal.enable = true; # Flatpak permissions manager
|
||||||
upscaler.enable = true; # Upscaler: Upscale and enhance images
|
upscaler.enable = true; # Upscaler: Upscale and enhance images
|
||||||
|
arduino.enable = false; # Arduino: Open-source electronics prototyping platform
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ _: {
|
|||||||
warehouse.enable = true; # Flatpak manager
|
warehouse.enable = true; # Flatpak manager
|
||||||
flatseal.enable = true; # Flatpak permissions manager
|
flatseal.enable = true; # Flatpak permissions manager
|
||||||
upscaler.enable = true; # Upscaler: Upscale and enhance images
|
upscaler.enable = true; # Upscaler: Upscale and enhance images
|
||||||
|
arduino.enable = false; # Arduino: Open-source electronics prototyping platform
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ _: {
|
|||||||
warehouse.enable = false; # Flatpak manager
|
warehouse.enable = false; # Flatpak manager
|
||||||
flatseal.enable = false; # Flatpak permissions manager
|
flatseal.enable = false; # Flatpak permissions manager
|
||||||
upscaler.enable = false; # Upscaler: Upscale and enhance images
|
upscaler.enable = false; # Upscaler: Upscale and enhance images
|
||||||
|
arduino.enable = false; # Arduino: Open-source electronics prototyping platform
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
warehouse = "io.github.flattool.Warehouse";
|
warehouse = "io.github.flattool.Warehouse";
|
||||||
flatseal = "com.github.tchx84.Flatseal";
|
flatseal = "com.github.tchx84.Flatseal";
|
||||||
upscaler = "io.gitlab.theevilskeleton.Upscaler";
|
upscaler = "io.gitlab.theevilskeleton.Upscaler";
|
||||||
|
arduino = "cc.arduino.IDE2";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
options.flatpak.enable = lib.mkEnableOption "Flatpak";
|
options.flatpak.enable = lib.mkEnableOption "Flatpak";
|
||||||
|
|||||||
@@ -66,6 +66,7 @@
|
|||||||
"vboxusers" # Virtual Box
|
"vboxusers" # Virtual Box
|
||||||
"gamemode"
|
"gamemode"
|
||||||
"lpadmin"
|
"lpadmin"
|
||||||
|
"dialout"
|
||||||
];
|
];
|
||||||
shell = with pkgs; (
|
shell = with pkgs; (
|
||||||
if shell == "fish"
|
if shell == "fish"
|
||||||
|
|||||||
@@ -19,5 +19,6 @@
|
|||||||
./user-settings
|
./user-settings
|
||||||
./extensions.nix
|
./extensions.nix
|
||||||
./extra-packages.nix
|
./extra-packages.nix
|
||||||
|
./skills.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
# lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
skillPath = ".agents/skills";
|
||||||
|
urlDomain = "https://raw.githubusercontent.com";
|
||||||
|
refs = "refs/heads/main/skills";
|
||||||
|
in {
|
||||||
|
home.file = {
|
||||||
|
"${skillPath}/ponytail/SKILL.md".source = pkgs.fetchurl {
|
||||||
|
url = "${urlDomain}/DietrichGebert/ponytail/${refs}/ponytail/SKILL.md";
|
||||||
|
sha256 = "sha256-IiTh4N3bHhJtER4HYPEFEo1g9Ro703TiPA5Tigv7k3s=";
|
||||||
|
};
|
||||||
|
"${skillPath}/caveman/SKILL.md".source = pkgs.fetchurl {
|
||||||
|
url = "${urlDomain}/JuliusBrussee/caveman/${refs}/caveman/SKILL.md";
|
||||||
|
sha256 = "sha256-447Gcey+5HziNBkL4SYV2vYKxmfXdbc0DUnQf09jx7w=";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user