cleanup
This commit is contained in:
@@ -15,10 +15,10 @@
|
||||
home.stateVersion = "24.11";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
#hex viewer
|
||||
# hex viewer
|
||||
hexyl
|
||||
|
||||
#rust stuff
|
||||
# rust stuff
|
||||
(rust-bin.selectLatestNightlyWith (
|
||||
toolchain:
|
||||
toolchain.default.override {
|
||||
@@ -30,30 +30,30 @@
|
||||
"rust-std"
|
||||
"cargo"
|
||||
];
|
||||
#thumbv7m-none-eabi target for stm32
|
||||
# thumbv7m-none-eabi target for stm32
|
||||
targets = [ "thumbv7m-none-eabi" ];
|
||||
}
|
||||
))
|
||||
cargo-expand
|
||||
|
||||
#find typos in code
|
||||
# find typos in code
|
||||
typos
|
||||
|
||||
#python formatter
|
||||
# python formatter
|
||||
ruff
|
||||
|
||||
#for website generation
|
||||
# for website generation
|
||||
hugo
|
||||
|
||||
#java development
|
||||
# java development
|
||||
google-java-format # formatter
|
||||
jdk # java
|
||||
jdt-language-server # lsp server
|
||||
|
||||
#for benchmaking stuff
|
||||
# for benchmaking stuff
|
||||
hyperfine
|
||||
|
||||
#replacements for common posix tools
|
||||
# replacements for common posix tools
|
||||
eza # ls replacement
|
||||
bat # pretty `cat` clone
|
||||
delta # viewer for `git` and `diff` output
|
||||
@@ -63,13 +63,13 @@
|
||||
tldr # `man` but more straight-forward and simpler
|
||||
ripgrep # grep, but written in rust, respects .gitignore, and very very fast, command is `rg`
|
||||
|
||||
#adds `sensors` command
|
||||
# adds `sensors` command
|
||||
lm_sensors
|
||||
|
||||
#rssfeed
|
||||
# rssfeed
|
||||
newsboat
|
||||
|
||||
#HTML/CSS/JSON/ESLint language servers
|
||||
# HTML/CSS/JSON/ESLint language servers
|
||||
vscode-langservers-extracted
|
||||
|
||||
just
|
||||
@@ -85,13 +85,13 @@
|
||||
|
||||
sshfs
|
||||
|
||||
#nix formatter
|
||||
# nix formatter
|
||||
nixfmt-rfc-style
|
||||
|
||||
#serial viewer
|
||||
# serial viewer
|
||||
minicom
|
||||
|
||||
#"~~matt's~~ my trace route"
|
||||
# "~~matt's~~ my trace route"
|
||||
mtr
|
||||
|
||||
file
|
||||
@@ -100,7 +100,7 @@
|
||||
|
||||
ffmpeg-full
|
||||
|
||||
#microcontroller tooling
|
||||
# microcontroller tooling
|
||||
probe-rs
|
||||
|
||||
(python312.withPackages (
|
||||
@@ -118,11 +118,9 @@
|
||||
yaml-language-server # yaml lsp
|
||||
marksman # markdown lsp
|
||||
|
||||
#clang-format and clang-tidy
|
||||
# clang-format and clang-tidy
|
||||
clang-tools
|
||||
|
||||
# inputs.binsider.packages.${pkgs.system}.binsider
|
||||
|
||||
lldb
|
||||
|
||||
fio
|
||||
@@ -140,37 +138,37 @@
|
||||
rustflags = ["-C", "link-arg=-fuse-ld=${pkgs.mold}/bin/mold"]
|
||||
'';
|
||||
|
||||
#default applications
|
||||
# default applications
|
||||
home.sessionVariables = {
|
||||
EDITOR = "hx";
|
||||
};
|
||||
|
||||
#feed reader
|
||||
# feed reader
|
||||
programs.newsboat = {
|
||||
enable = true;
|
||||
#store rss feeds in a separate file because it's *a lot*
|
||||
# store rss feeds in a separate file because it's *a lot*
|
||||
urls = import ./progs/rss.nix;
|
||||
};
|
||||
|
||||
#git (self explanatory)
|
||||
# git (self explanatory)
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.git;
|
||||
userName = "Simon Gardling";
|
||||
userEmail = "titaniumtown@proton.me";
|
||||
|
||||
#better way to view diffs
|
||||
# better way to view diffs
|
||||
delta.enable = true;
|
||||
|
||||
#master -> main
|
||||
extraConfig = {
|
||||
init = {
|
||||
# master -> main
|
||||
defaultBranch = "main";
|
||||
};
|
||||
push.autoSetupRemote = true;
|
||||
};
|
||||
|
||||
#gpg signing keys
|
||||
# gpg signing keys
|
||||
signing = {
|
||||
key = "9AB28AC10ECE533D";
|
||||
signByDefault = true;
|
||||
@@ -186,6 +184,5 @@
|
||||
${pkgs.gnupg}/bin/gpg --import ${config.age.secrets.gnupg.path}
|
||||
'';
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user