29 lines
1 KiB
Nix
29 lines
1 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
with pkgs;
|
|
{
|
|
environment.systemPackages = with jetbrains; [
|
|
idea-ultimate
|
|
];
|
|
|
|
home-manager.users.toast = {
|
|
# Install plugins
|
|
home.file = {
|
|
".local/share/JetBrains/IntelliJIdea2023.3/catppuccin.jar".source = fetchurl {
|
|
url = "https://github.com/catppuccin/jetbrains/releases/download/v3.2.2/Catppuccin.Theme-3.2.2.jar";
|
|
hash = "sha256-1Zio3ZDhhZvpo6w9ULNhhDQnyT1W25CLcVSm/LcP648=";
|
|
};
|
|
".local/share/JetBrains/IntelliJIdea2023.3/rainbow-brackets".source = fetchzip {
|
|
url = "https://github.com/izhangzhihao/intellij-rainbow-brackets/releases/download/latest/intellij-rainbow-brackets-2023.3.9-233.zip";
|
|
hash = "sha256-faMDP6kU21WOHVjY5Aj4/Glqymo1iUCTuUJdHsq1N/s=";
|
|
};
|
|
};
|
|
|
|
/*
|
|
If you use programs.java.enable intellij picks up the jdk package directly, which is not ideal
|
|
This adds the jdks I want to use to a directory intellij expects jdks to be
|
|
*/
|
|
home.file.".jdks/jdk8".source = "${pkgs.jdk8}/lib/openjdk";
|
|
home.file.".jdks/jdk17".source = "${pkgs.jdk17}/lib/openjdk";
|
|
};
|
|
}
|