28 lines
636 B
Nix
28 lines
636 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; [
|
||
|
# TODO: plugins
|
||
|
jetbrains.pycharm-community
|
||
|
jetbrains.clion
|
||
|
];
|
||
|
};
|
||
|
}
|