Skip to content

Commit

Permalink
feat(home): add intellij idea
Browse files Browse the repository at this point in the history
  • Loading branch information
yunfachi committed Dec 15, 2023
1 parent bae745b commit c857540
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions home/editors/idea.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
config,
lib,
pkgs,
...
}: let
cfg = config.yunfachi.idea;
in {
config = lib.mkIf cfg.enable {
home.packages = with pkgs.jetbrains; [idea-ultimate];
};
}
1 change: 1 addition & 0 deletions options/home/editors.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
in {
options.yunfachi = {
vscodium.enable = lib.mkEnableOption "vscodium" // {default = type == "desktop";};
idea.enable = lib.mkEnableOption "idea" // {default = type == "desktop";};
};
}

0 comments on commit c857540

Please sign in to comment.