stef
This commit is contained in:
parent
9669e079df
commit
30ea044632
4 changed files with 19 additions and 7 deletions
|
|
@ -1,4 +1,8 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
|
nix.extraOptions = ''
|
||||||
|
extra-substituters = https://devenv.cachix.org
|
||||||
|
extra-trusted-public-keys = devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=
|
||||||
|
'';
|
||||||
services.lorri.enable = true;
|
services.lorri.enable = true;
|
||||||
|
|
||||||
services.scx.enable = true;
|
services.scx.enable = true;
|
||||||
|
|
@ -37,6 +41,7 @@
|
||||||
hyperfine
|
hyperfine
|
||||||
jujutsu
|
jujutsu
|
||||||
just
|
just
|
||||||
|
just-lsp
|
||||||
lldb
|
lldb
|
||||||
mask
|
mask
|
||||||
mprocs
|
mprocs
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,7 @@
|
||||||
experimental-features = "nix-command flakes";
|
experimental-features = "nix-command flakes";
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
# adding logged in users allows for passwordless root
|
# adding logged in users allows for passwordless root
|
||||||
# trusted-users = ["root"];
|
trusted-users = ["root" "@wheel"];
|
||||||
system-features = [
|
system-features = [
|
||||||
"benchmark"
|
"benchmark"
|
||||||
"big-parallel"
|
"big-parallel"
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ d = "doc --no-deps --open"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
target = "x86_64-unknown-linux-gnu"
|
target = "x86_64-unknown-linux-gnu"
|
||||||
# rustc-wrapper = "${pkgs.sccache}/bin/sccache"
|
target-dir = "~/.cache/cargo/target"
|
||||||
# rustc-wrapper = "/path/to/sccache"
|
rustflags = ["-Z", "threads=8"]
|
||||||
rustflags = ["-Zthreads=0"]
|
rustc-wrapper = "/path/to/sccache"
|
||||||
|
|
||||||
[unstable]
|
[unstable]
|
||||||
codegen-backend = true
|
codegen-backend = true
|
||||||
|
|
@ -34,9 +34,8 @@ lto = "fat"
|
||||||
# rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"]
|
# rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"]
|
||||||
|
|
||||||
[target.x86_64-unknown-linux-gnu]
|
[target.x86_64-unknown-linux-gnu]
|
||||||
# linker = "musl-gcc"
|
linker = "clang"
|
||||||
# linker = "clang"
|
rustflags = ["-Ctarget-cpu=native", "-Clink-arg=--ld-path=wild"]
|
||||||
# rustflags = ["-Ctarget-cpu=native", "-Clink-arg=--ld-path=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
|
||||||
|
|
|
||||||
8
users/tao/nushell/extras/completions-just.nu
Normal file
8
users/tao/nushell/extras/completions-just.nu
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
def "nu-complete just" [] {
|
||||||
|
(^just --dump --unstable --dump-format json | from json).recipes | transpose recipe data | flatten | where {|row| $row.private == false } | select recipe doc parameters | rename value description
|
||||||
|
}
|
||||||
|
|
||||||
|
# Just: A Command Runner
|
||||||
|
export extern "just" [
|
||||||
|
...recipe: string@"nu-complete just", # Recipe(s) to run, may be with argument(s)
|
||||||
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue