diff --git a/extras/dev.nix b/extras/dev.nix index 8beb4c2..c93cf53 100644 --- a/extras/dev.nix +++ b/extras/dev.nix @@ -1,36 +1,32 @@ {pkgs, ...}: { environment.systemPackages = with pkgs; [ - nomachine-client - delta - mask - mprocs - presenterm - # (llm.withPlugins (ps: with ps; [llm-openrouter])) + # act + # asm-lsp # bash-language-server # digital # etcher # fontforge # freecad - # llm + # git-cliff + # lua-language-server # lychee # link checker + # markdown-oxide # markdown lsp # quickemu # radicle-node # vulkan-loader - # act - # aichat - # aider-chat - # asm-lsp b3sum + delta devenv direnv gh - # git-cliff hyperfine jujutsu just lldb - # lua-language-server - # markdown-oxide # markdown lsp + mask + mprocs + nomachine-client + presenterm qFlipper qemu sd @@ -68,12 +64,6 @@ # python # pypy3 python3 - # (python3.withPackages (ps: - # with ps; [ - # llm - # # llm-openrouter - # ])) - # python310Packages.python-lsp-server uv ruff @@ -103,13 +93,13 @@ SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg" ''; - # virtualisation.docker = { - # enable = true; - # storageDriver = "btrfs"; - # }; + virtualisation.docker = { + enable = true; + storageDriver = "btrfs"; + }; # virtualisation.docker.rootless = { # enable = true; # setSocketVariable = true; # }; - # users.extraGroups.docker.members = ["tao"]; + users.extraGroups.docker.members = ["tao"]; } diff --git a/users/tao/cargo.toml b/users/tao/cargo.toml index a51d5bc..3192adc 100644 --- a/users/tao/cargo.toml +++ b/users/tao/cargo.toml @@ -7,7 +7,7 @@ d = "doc --no-deps --open" target = "x86_64-unknown-linux-gnu" # rustc-wrapper = "${pkgs.sccache}/bin/sccache" rustc-wrapper = "/path/to/sccache" -rustflags = ["-Z", "threads=8"] +rustflags = ["-Zthreads=0"] [unstable] codegen-backend = true @@ -36,7 +36,7 @@ lto = "fat" [target.x86_64-unknown-linux-gnu] # linker = "musl-gcc" linker = "clang" -rustflags = ["-Ctarget-cpu=native", "-Clink-arg=-fuse-ld=mold"] +rustflags = ["-Ctarget-cpu=native", "-Clink-arg=-fuse-ld=wild"] # jonhoo # https://benw.is/posts/how-i-improved-my-rust-compile-times-by-seventy-five-percent