Skip to content

Commit

Permalink
Revert "feat(ide): added more ides to fork profile"
Browse files Browse the repository at this point in the history
This reverts commit e3a2c75.
  • Loading branch information
Wittano committed Jul 17, 2024
1 parent e3a2c75 commit ceb9a47
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions modules/dev/ide.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let
homeDir = config.home-manager.users.wittano.home.homeDirectory;
addProjectDirField = attr: builtins.mapAttrs (n: v: v // { projectDir = "${homeDir}/projects/own/${n}"; }) attr;

avaiableIde = addProjectDirField (with unstable.jetbrains; rec {
avaiableIde = addProjectDirField (with unstable.jetbrains; {
python.package = pycharm-professional;
cpp.package = clion;
go.package = goland;
Expand All @@ -20,20 +20,9 @@ let
haskell.extraConfig = {
home-manager.users.wittano.home.packages = with unstable; [ zed-editor ];
};
fork.extraConfig =
let
cppExtraConfig = cpp.extraConfig or { };
rustExtraConfig = rust.extraConfig or { };
jvmExtraConfig = jvm.extraConfig or { };
in
mkMerge [
cppExtraConfig
rustExtraConfig
jvmExtraConfig
{
home-manager.users.wittano.home.packages = with unstable; [ vscodium jvm.package rust.package cpp.package ];
}
];
fork = {
home-manager.users.wittano.home.packages = with unstable; [ vscodium ];
};
});

installedIDEs = trivial.pipe cfg.ides [
Expand Down

0 comments on commit ceb9a47

Please sign in to comment.