This commit is contained in:
Simon Gardling 2025-06-24 20:36:07 -07:00
parent 0058f4553e
commit 836159960c
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
2 changed files with 57 additions and 54 deletions

View File

@ -44,6 +44,57 @@ let
cmake-language-server # cmake lsp cmake-language-server # cmake lsp
]; ];
java_tools = with pkgs; [
# java development
google-java-format # formatter
jdk # java
# java assembler
jasmin
];
common_tools = with pkgs; [
# hex viewer
hexyl
# find typos in code
typos
# replacements for common posix tools
eza # ls replacement
bat # pretty `cat` clone
delta # viewer for `git` and `diff` output
dust # pretty `du` version
duf # better `df` clone
gping # `ping`... but with a graph!!
tldr # `man` but more straight-forward and simpler
ripgrep # grep, but written in rust, respects .gitignore, and very very fast, command is `rg`
fd # alternative to `find`
# status tools
htop
bottom
# other tools
unzip
wget
killall
file
b3sum
# "A hexadecimal, binary, and ASCII dump utility with color support"
tinyxxd
# networking tool
lsof
# view SMART status of drives
smartmontools
# adds `sensors` command
lm_sensors
];
in in
{ {
imports = [ imports = [
@ -66,12 +117,6 @@ in
home.packages = home.packages =
with pkgs; with pkgs;
[ [
# hex viewer
hexyl
# find typos in code
typos
# python formatter # python formatter
ruff ruff
@ -79,40 +124,13 @@ in
hugo hugo
go go
# java development
google-java-format # formatter
jdk # java
# for benchmaking stuff # for benchmaking stuff
hyperfine hyperfine
# replacements for common posix tools
eza # ls replacement
bat # pretty `cat` clone
delta # viewer for `git` and `diff` output
dust # pretty `du` version
duf # better `df` clone
gping # `ping`... but with a graph!!
tldr # `man` but more straight-forward and simpler
ripgrep # grep, but written in rust, respects .gitignore, and very very fast, command is `rg`
lurk # better strace
# alternative to `find`
fd
# adds `sensors` command
lm_sensors
just just
pfetch-rs pfetch-rs
waypipe waypipe
htop
bottom
wget
unzip
compsize
killall
sshfs sshfs
@ -125,10 +143,6 @@ in
# "~~matt's~~ my trace route" # "~~matt's~~ my trace route"
mtr mtr
file
b3sum
ffmpeg-full ffmpeg-full
# microcontroller tooling # microcontroller tooling
@ -152,15 +166,11 @@ in
binwalk binwalk
smartmontools
# clang-format and clang-tidy # clang-format and clang-tidy
clang-tools clang-tools
clang clang
gdb gdb
fio
age age
git-crypt git-crypt
@ -178,13 +188,6 @@ in
borgbackup borgbackup
tinyxxd
bfc
# java assembler
jasmin
# used to deploy nix system to server # used to deploy nix system to server
# (and in the future, desktop) # (and in the future, desktop)
deploy-rs deploy-rs
@ -193,7 +196,9 @@ in
powerstat powerstat
] ]
++ rust_pkgs ++ rust_pkgs
++ lsps; ++ lsps
++ java_tools
++ common_tools;
# https://github.com/flamegraph-rs/flamegraph # https://github.com/flamegraph-rs/flamegraph
home.file.".cargo/config.toml".text = '' home.file.".cargo/config.toml".text = ''
@ -202,11 +207,6 @@ in
rustflags = ["-Clink-arg=-Wl,--no-rosegment"] rustflags = ["-Clink-arg=-Wl,--no-rosegment"]
''; '';
# default applications
home.sessionVariables = {
EDITOR = "hx";
};
# git (self explanatory) # git (self explanatory)
programs.git = { programs.git = {
enable = true; enable = true;

View File

@ -1,5 +1,8 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
# set helix as default editor
home.sessionVariables.EDITOR = "hx";
programs.helix = { programs.helix = {
enable = true; enable = true;
package = pkgs.helix; package = pkgs.helix;