add datagrip

This commit is contained in:
Jakub Kropáček 2025-02-12 09:47:45 +01:00
parent c3f658661f
commit 3783a46f30
2 changed files with 9 additions and 1 deletions

View file

@ -38,6 +38,7 @@
install-pycharm = true; install-pycharm = true;
install-goland = true; install-goland = true;
install-webstorm = true; install-webstorm = true;
install-datagrip = true;
}; };
python = { python = {
enable = true; enable = true;

View file

@ -29,6 +29,12 @@ in
default = false; default = false;
example = true; example = true;
}; };
install-datagrip = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
};
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = environment.systemPackages =
@ -39,6 +45,7 @@ in
] ]
++ lib.optionals cfg.install-pycharm [ pkgs.jetbrains.pycharm-professional ] ++ lib.optionals cfg.install-pycharm [ pkgs.jetbrains.pycharm-professional ]
++ lib.optionals cfg.install-goland [ pkgs.jetbrains.goland ] ++ lib.optionals cfg.install-goland [ pkgs.jetbrains.goland ]
++ lib.optionals cfg.install-webstorm [ pkgs.jetbrains.webstorm ]; ++ lib.optionals cfg.install-webstorm [ pkgs.jetbrains.webstorm ]
++ lib.optionals cfg.install-datagrip [ pkgs.jetbrains.datagrip ];
}; };
} }