fix(jetbrains): use correct package for idea

nixos
Moritz Böhme 2024-05-27 16:17:34 +02:00
parent f6174bc0ba
commit bee307ae9c
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 3 additions and 2 deletions

View File

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