diff options
author | Freya Murphy <freya@freyacat.org> | 2025-09-17 22:07:16 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-09-17 22:07:16 -0400 |
commit | 68d03fe362b7e0df11662d8d6a1e01eac0bfae77 (patch) | |
tree | a76abd05f662f73b4083ddb0d8bf0d72c29e5a74 /modules/development/default.nix | |
parent | update commits (diff) | |
download | dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.gz dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.bz2 dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.zip |
refactor: remove modules folder, fully split home and system modules
Diffstat (limited to 'modules/development/default.nix')
-rw-r--r-- | modules/development/default.nix | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/modules/development/default.nix b/modules/development/default.nix deleted file mode 100644 index c5666a5..0000000 --- a/modules/development/default.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ - lib, - config, - pkgs, - ... -}: let - inherit (lib) mkEnableOption optionals; - cfg = config.development; -in { - options.development = { - c = mkEnableOption "Enable c/c++ development tools."; - java = mkEnableOption "Enable java/kotlin development tools."; - lua = mkEnableOption "Enable lua development tools."; - rust = mkEnableOption "Enable rust development tools."; - web = mkEnableOption "Enable web development tools."; - zig = mkEnableOption "Enable zig development tools."; - }; - - config = { - home-manager.users.${config.user} = { - home.packages = with pkgs; - (optionals cfg.c [ - clang-tools - gcc - gdb - gnumake - nasm - pkg-config - ]) - ++ (optionals cfg.lua [ - lua-language-server - ]) - ++ (optionals cfg.rust [ - rustc - rustfmt - rust-analyzer - cargo - clippy - ]) - ++ (optionals cfg.java [ - gradle - jdk - jdt-language-server - kotlin - kotlin-language-server - maven - ]) - ++ (optionals cfg.web [ - phpactor - sassc - typescript-language-server - ]) - ++ (optionals cfg.zig [ - zig - zls - ]); - }; - }; -} |