jetbrains ide (intellij) python integration

This commit is contained in:
Daniel Langbein 2023-11-08 11:17:52 +01:00
parent a69c628c34
commit 4ad4d3c8c6
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
7 changed files with 31 additions and 6 deletions

View File

@ -18,6 +18,7 @@
#../../modules/games.nix
#../../modules/boxes.nix
#../../modules/freetube.nix
#../../modules/jetbrains-ide.nix
#../../modules/vscodium.nix
#../../modules/signal-desktop.nix
#../../modules/element-desktop.nix

View File

@ -18,6 +18,7 @@
#../../modules/games.nix
#../../modules/boxes.nix
#../../modules/freetube.nix
#../../modules/jetbrains-ide.nix
#../../modules/vscodium.nix
#../../modules/signal-desktop.nix
#../../modules/element-desktop.nix

View File

@ -17,7 +17,8 @@
#../../modules/games.nix
#../../modules/boxes.nix
../../modules/freetube.nix
../../modules/vscodium.nix
../../modules/jetbrains-ide.nix
#../../modules/vscodium.nix
../../modules/signal-desktop.nix
../../modules/element-desktop.nix
../../modules/joplin-desktop.nix

View File

@ -17,6 +17,7 @@
#../../modules/games.nix
../../modules/boxes.nix
../../modules/freetube.nix
../../modules/jetbrains-ide.nix
../../modules/vscodium.nix
../../modules/signal-desktop.nix
../../modules/element-desktop.nix

View File

@ -18,6 +18,7 @@
#../../modules/games.nix
#../../modules/boxes.nix
#../../modules/freetube.nix
#../../modules/jetbrains-ide.nix
#../../modules/vscodium.nix
#../../modules/signal-desktop.nix
#../../modules/element-desktop.nix

25
modules/jetbrains-ide.nix Normal file
View File

@ -0,0 +1,25 @@
{ config, pkgs, ... }:
{
# Integrated Development Environment (IDE).
# Open issues about nix-shell support/integration:
# - .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
environment.systemPackages = with pkgs; [
# System-wide installation makes python available as:
# /run/current-system/sw/bin/python3
# This makes it easier to configure it as interpreter in Jetbrain's IDE.
python3
];
users.users.yoda = {
packages = with pkgs; [
(
if (config.nixpkgs.config.allowUnfree)
then jetbrains.idea-ultimate
else jetbrains.idea-community
)
];
};
}

View File

@ -20,11 +20,6 @@
meld # Diff and merge tool
handbrake # Rip DVD and Blu-ray; rotate and export videos
mediainfo-gui # View video metadata.
( # Integrated Development Environment (IDE)
if (config.nixpkgs.config.allowUnfree)
then jetbrains.idea-ultimate
else jetbrains.idea-community
)
#
# 3D modeling and printing