22 lines
753 B
Nix
22 lines
753 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
environment.systemPackages = with pkgs; with jetbrains; [
|
|
idea-ultimate
|
|
];
|
|
|
|
home-manager.users.toast = {
|
|
# Install plugins
|
|
home.file.".local/share/JetBrains/IntelliJIdea2023.2/catppuccin.jar".source = builtins.fetchurl {
|
|
url = "https://github.com/catppuccin/jetbrains/releases/download/v2.2.0/Catppuccin.Theme-2.2.0.jar";
|
|
sha256 = "143jrhdfg7q24mnnzgqwgxq4glsxznxc6awcifpghr9q6nw1hfi0";
|
|
};
|
|
|
|
/*
|
|
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";
|
|
};
|
|
}
|