From c6bf8a6d9d1d8fbd7d594f764f3803d25d93ac41 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Wed, 23 Oct 2024 18:56:01 +0200 Subject: [PATCH] switch to idea-ultimate --- modules/jetbrains-ide.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/modules/jetbrains-ide.nix b/modules/jetbrains-ide.nix index 94e7ba4..8f8d3b5 100644 --- a/modules/jetbrains-ide.nix +++ b/modules/jetbrains-ide.nix @@ -1,10 +1,11 @@ { config, pkgs, lib, ... }: let - version = ( - if (config.nixpkgs.config.allowUnfree) - then "idea-ultimate" - else "idea-community" - ); +# version = ( +# if (config.nixpkgs.config.allowUnfree) +# then "idea-ultimate" +# else "idea-community" +# ); + version = "idea-ultimate"; in { # Integrated Development Environment (IDE). @@ -13,6 +14,10 @@ in # - .env run configuration: https://github.com/NixOS/nix-idea/issues/1#issuecomment-590851686 # - nix-shell IDE-wide: https://github.com/NixOS/nix-idea/issues/1#issuecomment-734997521 + allowUnfree = [ + version + ]; + environment.systemPackages = with pkgs; [ # System-wide installation makes python available as: # /run/current-system/sw/bin/python3