jetbrais-remote-server

This commit is contained in:
Vinzenz Schroeter 2023-12-25 12:06:50 +01:00
parent 0a9eed4fd2
commit 04a3c309fe
3 changed files with 16 additions and 3 deletions

View file

@ -10,6 +10,7 @@ in {
native = lib.mkEnableOption "include native build tools"; native = lib.mkEnableOption "include native build tools";
dotnet = lib.mkEnableOption "include dotnet build tools"; dotnet = lib.mkEnableOption "include dotnet build tools";
rust = lib.mkEnableOption "include rust 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 [ config = lib.mkMerge [
@ -47,5 +48,18 @@ in {
cargo-generate 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"
];
})
]; ];
} }

View file

@ -97,9 +97,7 @@ in {
]; ];
}; };
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [];
"electron-19.1.9"
];
my.allowUnfreePackages = [ my.allowUnfreePackages = [
"insync" "insync"

View file

@ -19,6 +19,7 @@
native = true; native = true;
dotnet = true; dotnet = true;
rust = true; rust = true;
jetbrains-remote-server = true;
}; };
}; };