This commit is contained in:
Tao Tien 2025-06-15 18:11:00 -07:00
parent 517e605875
commit b90f2addae
2 changed files with 17 additions and 27 deletions

View file

@ -1,36 +1,32 @@
{pkgs, ...}: { {pkgs, ...}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
nomachine-client # act
delta # asm-lsp
mask
mprocs
presenterm
# (llm.withPlugins (ps: with ps; [llm-openrouter]))
# bash-language-server # bash-language-server
# digital # digital
# etcher # etcher
# fontforge # fontforge
# freecad # freecad
# llm # git-cliff
# lua-language-server
# lychee # link checker # lychee # link checker
# markdown-oxide # markdown lsp
# quickemu # quickemu
# radicle-node # radicle-node
# vulkan-loader # vulkan-loader
# act
# aichat
# aider-chat
# asm-lsp
b3sum b3sum
delta
devenv devenv
direnv direnv
gh gh
# git-cliff
hyperfine hyperfine
jujutsu jujutsu
just just
lldb lldb
# lua-language-server mask
# markdown-oxide # markdown lsp mprocs
nomachine-client
presenterm
qFlipper qFlipper
qemu qemu
sd sd
@ -68,12 +64,6 @@
# python # python
# pypy3 # pypy3
python3 python3
# (python3.withPackages (ps:
# with ps; [
# llm
# # llm-openrouter
# ]))
# python310Packages.python-lsp-server
uv uv
ruff ruff
@ -103,13 +93,13 @@
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg" SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
''; '';
# virtualisation.docker = { virtualisation.docker = {
# enable = true; enable = true;
# storageDriver = "btrfs"; storageDriver = "btrfs";
# }; };
# virtualisation.docker.rootless = { # virtualisation.docker.rootless = {
# enable = true; # enable = true;
# setSocketVariable = true; # setSocketVariable = true;
# }; # };
# users.extraGroups.docker.members = ["tao"]; users.extraGroups.docker.members = ["tao"];
} }

View file

@ -7,7 +7,7 @@ d = "doc --no-deps --open"
target = "x86_64-unknown-linux-gnu" target = "x86_64-unknown-linux-gnu"
# rustc-wrapper = "${pkgs.sccache}/bin/sccache" # rustc-wrapper = "${pkgs.sccache}/bin/sccache"
rustc-wrapper = "/path/to/sccache" rustc-wrapper = "/path/to/sccache"
rustflags = ["-Z", "threads=8"] rustflags = ["-Zthreads=0"]
[unstable] [unstable]
codegen-backend = true codegen-backend = true
@ -36,7 +36,7 @@ lto = "fat"
[target.x86_64-unknown-linux-gnu] [target.x86_64-unknown-linux-gnu]
# linker = "musl-gcc" # linker = "musl-gcc"
linker = "clang" linker = "clang"
rustflags = ["-Ctarget-cpu=native", "-Clink-arg=-fuse-ld=mold"] rustflags = ["-Ctarget-cpu=native", "-Clink-arg=-fuse-ld=wild"]
# jonhoo # jonhoo
# https://benw.is/posts/how-i-improved-my-rust-compile-times-by-seventy-five-percent # https://benw.is/posts/how-i-improved-my-rust-compile-times-by-seventy-five-percent