summaryrefslogtreecommitdiff
path: root/modules/development/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/development/default.nix')
-rw-r--r--modules/development/default.nix59
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
- ]);
- };
- };
-}