home: format packages

This commit is contained in:
Simon Gardling 2025-03-31 02:24:49 -04:00
parent fab2f50790
commit 97588fe9de
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -6,20 +6,9 @@
config,
...
}:
{
imports = [
./progs/fish.nix
./progs/helix.nix
];
let
rust_pkgs = with pkgs; [
home.stateVersion = "24.11";
home.enableNixpkgsReleaseCheck = false;
home.packages = with pkgs; [
# hex viewer
hexyl
# rust stuff
(rust-bin.stable.latest.default.override ({
extensions = [
"rust-src"
@ -39,6 +28,42 @@
bolt_19
libllvm # llvm-profdata
cargo-show-asm
cargo-flamegraph
];
lsps = with pkgs; [
# java
jdt-language-server
# HTML/CSS/JSON/ESLint language servers
vscode-langservers-extracted
(python312.withPackages (
ps: with ps; [
python-lsp-server # lsp
python-lsp-ruff # ruff integration
]
))
nil # nix lsp
yaml-language-server # yaml lsp
marksman # markdown lsp
typescript-language-server # typescript lsp
cmake-language-server # cmake lsp
];
in
{
imports = [
./progs/fish.nix
./progs/helix.nix
];
home.stateVersion = "24.11";
home.enableNixpkgsReleaseCheck = false;
home.packages =
with pkgs;
[
# hex viewer
hexyl
# find typos in code
typos
@ -53,7 +78,6 @@
# java development
google-java-format # formatter
jdk # java
jdt-language-server # lsp server
# for benchmaking stuff
hyperfine
@ -75,9 +99,6 @@
# rssfeed
newsboat
# HTML/CSS/JSON/ESLint language servers
vscode-langservers-extracted
just
pfetch-rs
@ -111,9 +132,6 @@
(python312.withPackages (
ps: with ps; [
python-lsp-server # lsp
python-lsp-ruff # ruff integration
mypy # type checking
pyserial
@ -126,25 +144,15 @@
]
))
# dep fails to build
# binwalk
binwalk
smartmontools
nil # nix lsp
yaml-language-server # yaml lsp
marksman # markdown lsp
typescript-language-server # typescript lsp
cmake-language-server # cmake lsp
# clang-format and clang-tidy
clang-tools
clang
gdb
# broken
# lldb
fio
age
@ -162,7 +170,6 @@
tcpdump
cargo-flamegraph
linuxKernel.packages.linux_6_14.perf
borgbackup
@ -173,10 +180,9 @@
# java assembler
jasmin
# rust-written LLM inference
mistral-rs
];
]
++ rust_pkgs
++ lsps;
# https://github.com/flamegraph-rs/flamegraph
home.file.".cargo/config.toml".text = ''