From f37727317f5dec7fdf6b577fbffe318240b3b962 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Wed, 8 Mar 2023 11:03:42 +0100 Subject: [PATCH] Better support for JetBrains product --- hm_modules/development/database.nix | 3 +++ hm_modules/pycharm.nix | 3 +-- odin/hm.nix | 2 +- thor/hm.nix | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 hm_modules/development/database.nix diff --git a/hm_modules/development/database.nix b/hm_modules/development/database.nix new file mode 100644 index 0000000..e1bb92c --- /dev/null +++ b/hm_modules/development/database.nix @@ -0,0 +1,3 @@ +{ pkgs, ... }: { + home.packages = builtins.attrValues { inherit (pkgs.unstable_pkgs.jetbrains) datagrip jdk; }; +} diff --git a/hm_modules/pycharm.nix b/hm_modules/pycharm.nix index a40c44b..39102fd 100644 --- a/hm_modules/pycharm.nix +++ b/hm_modules/pycharm.nix @@ -1,7 +1,6 @@ { pkgs, ... }: { home.packages = builtins.attrValues { inherit (pkgs) python3; - inherit (pkgs.jetbrains) pycharm-professional; - # pypy3 + inherit (pkgs.unstable_pkgs.jetbrains) pycharm-professional jdk; }; } diff --git a/odin/hm.nix b/odin/hm.nix index 55ae91c..df1f708 100644 --- a/odin/hm.nix +++ b/odin/hm.nix @@ -32,7 +32,6 @@ # seahorse eog file-roller gnome-font-viewer gnome-screenshot gnome-system-monitor totem; - inherit (pkgs.jetbrains) datagrip; }; }; @@ -54,6 +53,7 @@ ../hm_modules/development/cpp.nix ../hm_modules/development/data.nix + ../hm_modules/development/database.nix ../hm_modules/development/docker.nix # ../hm_modules/development/go.nix ../hm_modules/development/javascript.nix diff --git a/thor/hm.nix b/thor/hm.nix index 7a1a1e0..2f9e8df 100644 --- a/thor/hm.nix +++ b/thor/hm.nix @@ -34,7 +34,6 @@ # seahorse eog file-roller gnome-font-viewer gnome-screenshot gnome-system-monitor totem; - inherit (pkgs.jetbrains) datagrip; }; }; @@ -45,6 +44,7 @@ ../hm_modules/development/cpp.nix ../hm_modules/development/data.nix + ../hm_modules/development/database.nix ../hm_modules/development/docker.nix # ../hm_modules/development/go.nix ../hm_modules/development/javascript.nix