22 lines
502 B
Nix
22 lines
502 B
Nix
{ pkgs, lib, config, ... }: {
|
|
options = {
|
|
languages.enable = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
description = "Enable support for multiple programming languages";
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf config.languages.enable {
|
|
home.packages = with pkgs; [
|
|
conda
|
|
gcc
|
|
python3
|
|
nodejs_22
|
|
maven
|
|
go
|
|
];
|
|
|
|
programs.java.enable = true;
|
|
};
|
|
}
|