mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 07:28:12 +09:00
fix
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
imports = [
|
||||
./agent.nix
|
||||
./bun.nix
|
||||
./java.nix
|
||||
./nix.nix
|
||||
./python.nix
|
||||
];
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user