nix/modules/stuff/other-dev-programs.nix
2024-09-15 11:29:21 +02:00

29 lines
662 B
Nix

{ 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; [
# CYA NERDS
# NOTTODO: plugins
# jetbrains.pycharm-community
# jetbrains.clion
];
};
}