nixos-config/nixos/homes/palo/packages/development.nix

123 lines
2.5 KiB
Nix
Raw Normal View History

2023-12-13 13:56:12 +01:00
{ pkgs, lib, config, ... }:
with pkgs;
with lib;
{
config = mkMerge [
(mkIf config.gui.enable {
2024-03-03 14:56:49 +01:00
home.packages = [
2024-03-03 14:56:49 +01:00
# general
unstable.jetbrains.idea-ultimate
#vscode
2023-12-13 13:56:12 +01:00
2024-03-03 14:56:49 +01:00
jetbrains.mps
2023-12-13 13:56:12 +01:00
2024-03-03 14:56:49 +01:00
unstable.jetbrains.datagrip
2023-12-13 13:56:12 +01:00
2024-03-03 14:56:49 +01:00
# Rust
# ----
unstable.jetbrains.clion
gcc
rustup
# Python
# ------
unstable.jetbrains.pycharm-professional
2024-03-03 14:56:49 +01:00
# planing
((ganttproject-bin.override {
jre = pkgs.openjdk11;
}).overrideAttrs (old: {
version = "3.1.3100";
src = pkgs.fetchzip {
url = "https://dl.ganttproject.biz/ganttproject-3.1.3100/ganttproject-3.1.3100.zip";
sha256 = "sha256-hw2paak0P670/kemiuqYHIaN0uUtkVKy+AX2X7OdnJ4=";
};
}))
mermaid-cli
];
2023-12-13 13:56:12 +01:00
})
{
2024-03-03 14:56:49 +01:00
home.packages =
let
pandocScript = { inputFormat, outputFormat }:
pkgs.writers.writeDashBin "pandoc-from-${inputFormat}-to-${outputFormat}" ''
${pkgs.pandoc}/bin/pandoc \
--from ${inputFormat} \
--to ${outputFormat} \
--standalone \
"$@"
'';
in
[
2023-12-13 13:56:12 +01:00
2024-03-03 14:56:49 +01:00
lnav
2024-01-02 03:22:16 +01:00
tmux
2023-12-13 13:56:12 +01:00
nethogs
netsniff-ng
iftop
2023-12-13 13:56:12 +01:00
# terminal recorder
asciinema
asciinema-agg
asciinema-scenario
termtosvg
2023-12-13 13:56:12 +01:00
# shell
gum
yq-go
gojq
2023-12-23 00:11:26 +01:00
jq
ijq
2023-12-13 13:56:12 +01:00
# nomad
2024-03-01 18:08:09 +01:00
unstable.nomad
wander
2023-12-13 13:56:12 +01:00
# terraform
unstable.terragrunt
unstable.terraform
terraform-docs
awscli2
# python
python3Full
pipenv
2023-12-13 13:56:12 +01:00
unstable.mdbook
2023-12-13 13:56:12 +01:00
2023-12-22 20:28:52 +01:00
nodePackages.prettier
shfmt
black
pre-commit
nixpkgs-fmt
treefmt
2024-03-03 14:56:49 +01:00
(pkgs.writers.writeBashBin "ssl-check-cert-of-domain" ''
DOMAIN=$1
echo | \
${pkgs.openssl}/bin/openssl s_client -servername ''${DOMAIN} -connect ''${DOMAIN}:443 2>/dev/null | \
${pkgs.openssl}/bin/openssl x509 -text | \
${pkgs.less}/bin/less
'')
] ++ (map pandocScript (lib.cartesianProductOfSets {
2023-12-22 20:28:52 +01:00
inputFormat = [ "man" "markdown" "mediawiki" "asciidoc" ];
outputFormat = [ "mediawiki" "docbook5" "html5" "man" "jira" "markdown" ];
}));
2023-12-13 13:56:12 +01:00
}
];
}