organize
This commit is contained in:
parent
0058f4553e
commit
836159960c
@ -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;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user