Intellij: use fetchurl from pkgs instead of builtins

This commit is contained in:
Toast 2023-10-23 11:50:10 +02:00
parent 4dd3b646f2
commit 7e3dc3cb97

View file

@ -1,13 +1,14 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
with pkgs;
{ {
environment.systemPackages = with pkgs; with jetbrains; [ environment.systemPackages = with jetbrains; [
idea-ultimate idea-ultimate
]; ];
home-manager.users.toast = { home-manager.users.toast = {
# Install plugins # Install plugins
home.file.".local/share/JetBrains/IntelliJIdea2023.2/catppuccin.jar".source = builtins.fetchurl { home.file.".local/share/JetBrains/IntelliJIdea2023.2/catppuccin.jar".source = fetchurl {
url = "https://github.com/catppuccin/jetbrains/releases/download/v2.2.0/Catppuccin.Theme-2.2.0.jar"; url = "https://github.com/catppuccin/jetbrains/releases/download/v2.2.0/Catppuccin.Theme-2.2.0.jar";
sha256 = "143jrhdfg7q24mnnzgqwgxq4glsxznxc6awcifpghr9q6nw1hfi0"; sha256 = "143jrhdfg7q24mnnzgqwgxq4glsxznxc6awcifpghr9q6nw1hfi0";
}; };