dotfiles/config/nix/hm/dev.nix

67 lines
1.1 KiB
Nix
Raw Normal View History

2023-11-22 14:05:48 +01:00
{ pkgs, config, ... }: {
2023-11-22 16:32:20 +01:00
# TODO Maybe should be per-directory dotenv
# Or not, for neovim
2023-10-24 21:44:40 +02:00
2023-11-22 16:32:20 +01:00
# Always on
home.packages = with pkgs; [
2023-10-24 21:44:40 +02:00
# Common
perf-tools
git
jq
2023-11-02 21:57:06 +01:00
yq
2023-10-24 21:44:40 +02:00
universal-ctags
highlight
# Network
socat
dig
whois
nmap
tcpdump
# nix
nix
2023-11-22 16:32:20 +01:00
# Always on (graphical)
2023-11-22 14:05:48 +01:00
] ++ lib.optionals config.frogeye.desktop.xorg [
# Common
zeal-qt6 # Offline documentation
2023-11-22 16:32:20 +01:00
# Network
wireshark-qt
# Ansible
] ++ lib.optionals config.frogeye.dev.ansible [
ansible
ansible-lint
# C/C++
] ++ lib.optionals config.frogeye.dev.c [
cmake
clang
ccache
gdb
# Docker
] ++ lib.optionals config.frogeye.dev.docker [
docker
docker-compose
2023-11-22 14:05:48 +01:00
# FPGA
2023-11-22 16:32:20 +01:00
] ++ lib.optionals config.frogeye.dev.fpga [
verilog
# ghdl # TODO Not on aarch64
# FPGA (graphical)
] ++ lib.optionals (config.frogeye.desktop.xorg && config.frogeye.dev.fpga) [
2023-11-22 14:05:48 +01:00
yosys
gtkwave
2023-11-22 16:32:20 +01:00
# Python
] ++ lib.optionals config.frogeye.dev.python [
python3Packages.ipython
2023-10-24 21:44:40 +02:00
];
}