2024-08-01 21:22:47 +02:00
|
|
|
{ lib, pkgs, config, ...}: let
|
|
|
|
inherit (lib) mkIf mkEnableOption mkOption;
|
|
|
|
cfg = config.chuj.stuff.other-dev-programs;
|
|
|
|
user = config.chuj.system.user;
|
|
|
|
in {
|
|
|
|
options.chuj.stuff.other-dev-programs = {
|
|
|
|
enable = mkEnableOption "other-dev-programs";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
nixd
|
|
|
|
gdb
|
|
|
|
clang-tools
|
|
|
|
valgrind
|
|
|
|
linuxKernel.packages.linux_6_6.perf
|
|
|
|
ccache
|
|
|
|
];
|
|
|
|
|
|
|
|
home-manager.users.${user}.home.packages = with pkgs; [
|
2024-09-15 11:29:21 +02:00
|
|
|
# CYA NERDS
|
|
|
|
# NOTTODO: plugins
|
|
|
|
# jetbrains.pycharm-community
|
|
|
|
# jetbrains.clion
|
2024-08-01 21:22:47 +02:00
|
|
|
];
|
|
|
|
};
|
2024-09-15 11:29:21 +02:00
|
|
|
}
|