fix(jetbrains): use correct package for idea
parent
f6174bc0ba
commit
bee307ae9c
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue