This commit is contained in:
2026-05-30 23:37:40 +09:00
parent 394638638d
commit 3ff532f9e5
61 changed files with 708 additions and 36 deletions
+13
View File
@@ -0,0 +1,13 @@
{ lib, config, ... }:
let
cfg = config.my.features.dev.agent;
in
{
options.my.features.dev.agent = {
enable = lib.mkEnableOption "AI coding agents (Claude Code)";
};
config = lib.mkIf cfg.enable {
my.applications.claude.enable = true;
};
}
+20
View File
@@ -0,0 +1,20 @@
{
pkgs,
lib,
config,
...
}:
let
cfg = config.my.features.dev.bun;
in
{
options.my.features.dev.bun = {
enable = lib.mkEnableOption "Bun JavaScript runtime";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
bun # A Fast JavaScript Runtime Like Node.js And Deno
];
};
}
+9
View File
@@ -0,0 +1,9 @@
{
imports = [
./agent.nix
./bun.nix
./java.nix
./nix.nix
./python.nix
];
}
+13
View File
@@ -0,0 +1,13 @@
{ lib, config, ... }:
let
cfg = config.my.features.dev.java;
in
{
options.my.features.dev.java = {
enable = lib.mkEnableOption "Java development environment";
};
config = lib.mkIf cfg.enable {
my.applications.java.enable = true;
};
}
+20
View File
@@ -0,0 +1,20 @@
{
pkgs,
lib,
config,
...
}:
let
cfg = config.my.features.dev.nix;
in
{
options.my.features.dev.nix = {
enable = lib.mkEnableOption "Nix development tools (nil language server)";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
nil # Nix Language Server
];
};
}
+21
View File
@@ -0,0 +1,21 @@
{
pkgs,
lib,
config,
...
}:
let
cfg = config.my.features.dev.python;
in
{
options.my.features.dev.python = {
enable = lib.mkEnableOption "Python development environment";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
python312 # Python 3.12
uv # Universal Virtual Environment Manager For Python
];
};
}