31 lines
693 B
Nix
31 lines
693 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
|
|
];
|
|
|
|
programs.adb.enable = true;
|
|
|
|
home-manager.users.${user}.home.packages = with pkgs; [
|
|
# CYA NERDS
|
|
# NOTTODO: plugins
|
|
# jetbrains.pycharm-community
|
|
# jetbrains.clion
|
|
];
|
|
};
|
|
}
|