From 1ef2f2c4646a170ea87883bf813166d265a04c26 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sat, 9 Mar 2024 18:11:59 +0100 Subject: [PATCH] ide only on desktop, remove llvm --- modules/buildtools.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/modules/buildtools.nix b/modules/buildtools.nix index c73337c..da1bd30 100644 --- a/modules/buildtools.nix +++ b/modules/buildtools.nix @@ -26,16 +26,11 @@ in { gnumake gcc gdb - llvmPackages.llvm - llvmPackages.clangUseLLVM ]; }) (lib.mkIf cfg.dotnet { environment = { systemPackages = with pkgs; [ - unstable.jetbrains.jdk - unstable.jetbrains.rider - dotnetPackage zlib @@ -64,6 +59,14 @@ in { dotnetPackage ]; }) + (lib.mkIf (cfg.dotnet || config.my.desktop.enable) { + environment = { + systemPackages = with pkgs; [ + unstable.jetbrains.jdk + unstable.jetbrains.rider + ]; + }; + }) (lib.mkIf cfg.rust { environment.systemPackages = with pkgs; [ cargo