emacs support for new languages + dependencies

This commit is contained in:
2025-03-25 01:26:35 -06:00
parent 39ce87696c
commit 6846fc3eec
7 changed files with 68 additions and 3 deletions

22
modules/dev/cc.nix Normal file
View File

@@ -0,0 +1,22 @@
{
config,
lib,
pkgs,
...
}:
{
options.my.dev.cc.enable = lib.mkEnableOption "enable";
config = lib.mkIf config.my.dev.cc.enable {
users.users.jawz.packages = builtins.attrValues {
inherit (pkgs)
clang # C/C++ compiler frontend (part of LLVM)
clang-tools # Extra LLVM tools (e.g. clang-tidy, clang-apply-replacements)
gcc # GNU Compiler Collection (C, C++, etc.)
gdb # GNU Debugger
valgrind # Memory leak detector and performance profiler
;
};
};
}