From 04a3c309fe9523df41381e419530c925fd661cf5 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Mon, 25 Dec 2023 12:06:50 +0100 Subject: [PATCH] jetbrais-remote-server --- modules/buildtools.nix | 14 ++++++++++++++ modules/desktop/default.nix | 4 +--- vinzenz-pc2.nix | 1 + 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/modules/buildtools.nix b/modules/buildtools.nix index 1f8c830..5aad730 100644 --- a/modules/buildtools.nix +++ b/modules/buildtools.nix @@ -10,6 +10,7 @@ in { native = lib.mkEnableOption "include native build tools"; dotnet = lib.mkEnableOption "include dotnet build tools"; rust = lib.mkEnableOption "include rust build tools"; + jetbrains-remote-server = lib.mkEnableOption "setup jetbrais IDE installs so -remote-dev-server can be started"; }; config = lib.mkMerge [ @@ -47,5 +48,18 @@ in { cargo-generate ]; }) + (lib.mkIf cfg.jetbrains-remote-server { + environment.systemPackages = with pkgs.jetbrains; [ + jdk # required for all of them + rider + clion + pycharm-professional + ]; + my.allowUnfreePackages = [ + "rider" + "clion" + "pycharm-professional" + ]; + }) ]; } diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index f790270..575b99e 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -97,9 +97,7 @@ in { ]; }; - nixpkgs.config.permittedInsecurePackages = [ - "electron-19.1.9" - ]; + nixpkgs.config.permittedInsecurePackages = []; my.allowUnfreePackages = [ "insync" diff --git a/vinzenz-pc2.nix b/vinzenz-pc2.nix index 27e23af..a40a53a 100644 --- a/vinzenz-pc2.nix +++ b/vinzenz-pc2.nix @@ -19,6 +19,7 @@ native = true; dotnet = true; rust = true; + jetbrains-remote-server = true; }; };