nixos/modules/dev/cc.nix

27 lines
413 B
Nix
Raw Normal View History

2023-07-09 15:44:29 +04:00
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.dev.cc;
in
{
options.modules.dev.cc = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
gcc
gnumake
cmake
clang
gdb
2023-07-10 17:36:02 +04:00
pkg-config
2023-07-31 17:15:24 +04:00
# lsp
clang-tools
cmake-language-server
# lint
cpplint
2023-07-09 15:44:29 +04:00
];
};
}