fix(jetbrains): use correct package for idea

This commit is contained in:
Moritz Böhme 2024-05-27 16:17:34 +02:00
parent f6174bc0ba
commit bee307ae9c
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -1,7 +1,8 @@
{ config, lib, pkgs, ... }:
let
inherit (lib) mkEnableOption mkIf mkOption any filterAttrs mapAttrsToList;
inherit (lib) any filterAttrs mapAttrsToList mkEnableOption mkIf mkOption;
cfg = config.my.programs.jetbrains;
isEnabled = _: value: value.enable;
anyEnabled = any (x: x) (mapAttrsToList isEnabled cfg);
@ -17,7 +18,7 @@ in
idea = {
enable = mkEnableOption "idea";
package = mkOption {
default = pkgs.jetbrains.pycharm-community;
default = pkgs.jetbrains.idea-community;
};
};
};