switch to idea-ultimate

This commit is contained in:
Daniel Langbein 2024-10-23 18:56:01 +02:00
parent e951dae448
commit c6bf8a6d9d
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -1,10 +1,11 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
version = ( # version = (
if (config.nixpkgs.config.allowUnfree) # if (config.nixpkgs.config.allowUnfree)
then "idea-ultimate" # then "idea-ultimate"
else "idea-community" # else "idea-community"
); # );
version = "idea-ultimate";
in in
{ {
# Integrated Development Environment (IDE). # Integrated Development Environment (IDE).
@ -13,6 +14,10 @@ in
# - .env run configuration: https://github.com/NixOS/nix-idea/issues/1#issuecomment-590851686 # - .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 # - nix-shell IDE-wide: https://github.com/NixOS/nix-idea/issues/1#issuecomment-734997521
allowUnfree = [
version
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# System-wide installation makes python available as: # System-wide installation makes python available as:
# /run/current-system/sw/bin/python3 # /run/current-system/sw/bin/python3