2024-01-08 22:59:06 +01:00
|
|
|
{ pkgs, config, ... }: {
|
|
|
|
# TODO Maybe should be per-directory dotenv
|
|
|
|
# Or not, for neovim
|
|
|
|
config = {
|
|
|
|
# Always on
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
# Common
|
|
|
|
perf-tools
|
|
|
|
jq
|
|
|
|
yq
|
|
|
|
universal-ctags
|
2024-01-09 00:12:35 +01:00
|
|
|
cloc
|
2024-01-08 22:59:06 +01:00
|
|
|
|
|
|
|
# Network
|
|
|
|
socat
|
|
|
|
dig
|
|
|
|
whois
|
|
|
|
nmap
|
|
|
|
tcpdump
|
|
|
|
|
|
|
|
# nix
|
|
|
|
nix
|
|
|
|
|
|
|
|
# Always on (graphical)
|
|
|
|
] ++ lib.optionals config.frogeye.desktop.xorg [
|
|
|
|
# Common
|
|
|
|
zeal-qt6 # Offline documentation
|
|
|
|
|
|
|
|
# Network
|
|
|
|
wireshark-qt
|
|
|
|
|
|
|
|
# Ansible
|
|
|
|
] ++ lib.optionals config.frogeye.dev.ansible [
|
|
|
|
ansible
|
|
|
|
ansible-lint
|
|
|
|
|
|
|
|
# Docker
|
|
|
|
] ++ lib.optionals config.frogeye.dev.docker [
|
|
|
|
docker
|
|
|
|
docker-compose
|
|
|
|
|
|
|
|
# FPGA
|
|
|
|
] ++ lib.optionals config.frogeye.dev.fpga [
|
|
|
|
verilog
|
|
|
|
|
|
|
|
] ++ lib.optionals (config.frogeye.dev.fpga && pkgs.stdenv.isx86_64) [
|
|
|
|
ghdl
|
|
|
|
|
|
|
|
# FPGA (graphical)
|
|
|
|
] ++ lib.optionals (config.frogeye.desktop.xorg && config.frogeye.dev.fpga) [
|
|
|
|
yosys
|
|
|
|
gtkwave
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|