Skip to content

Commit

Permalink
feat(ide): reduced number of installed IDEs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wittano committed Aug 3, 2024
1 parent 4f6204b commit 771fd10
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 28 deletions.
26 changes: 13 additions & 13 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hosts/pc/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
games.enable = true;
mihoyo.enable = true;
};
dev.lang.ides = [ "go" "sql" "fork" ];
dev.lang.ides = [ "go" "fork" ];
hardware = rec {
grub.enableMultiBoot = true;
sound.enable = true;
Expand Down
18 changes: 4 additions & 14 deletions modules/dev/ide.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ let
addProjectDirField (with unstable.jetbrains; rec {
python.package = pycharm-professional;
cpp.package = clion;
zig = cpp;
go.package = goland;
dotnet.package = rider;
rust.package = rust-rover;
Expand All @@ -29,20 +30,9 @@ let
haskell.extraConfig = {
home-manager.users.wittano.home.packages = with unstable; [ zed-editor ];
};
fork.extraConfig =
let
jvmConfig = mkExtraConfig jvm;
cppConfig = mkExtraConfig cpp;
rustConfig = mkExtraConfig rust;
in
mkMerge [
jvmConfig
cppConfig
rustConfig
{
home-manager.users.wittano.home.packages = with unstable; [ vscodium ];
}
];
fork.extraConfig = {
home-manager.users.wittano.home.packages = with unstable; [ vscodium ];
};
});

installedIDEs = trivial.pipe cfg.ides [
Expand Down

0 comments on commit 771fd10

Please sign in to comment.