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