From ab6eabd2136e2c25f785cec7a8e1e86b42c50408 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Mon, 20 May 2024 09:18:26 +0800 Subject: [PATCH] fix(jetbrains): add go compiler --- home/jetbrains/home.nix | 2 +- home/jetbrains/nixos.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/home/jetbrains/home.nix b/home/jetbrains/home.nix index 90f931d2..637dc689 100644 --- a/home/jetbrains/home.nix +++ b/home/jetbrains/home.nix @@ -4,7 +4,7 @@ , ... }: with lib; let cfg = config.passthrough.jetbrains; in mkIf cfg.enable { - home.packages = with pkgs.jetbrains; [ ] ++ + home.packages = with pkgs.jetbrains; [ pkgs.go ] ++ optional cfg.idea idea-community ++ optional cfg.clion clion ++ optional cfg.goland goland; diff --git a/home/jetbrains/nixos.nix b/home/jetbrains/nixos.nix index e0a69550..e2d01f60 100644 --- a/home/jetbrains/nixos.nix +++ b/home/jetbrains/nixos.nix @@ -18,6 +18,7 @@ in { ]; users.home.persist.directories = mkIf cfg.enable [ + "go" ".java/.userPrefs" ".config/JetBrains" ".local/share/JetBrains"