stef
This commit is contained in:
parent
9669e079df
commit
30ea044632
4 changed files with 19 additions and 7 deletions
|
|
@ -1,4 +1,8 @@
|
|||
{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.scx.enable = true;
|
||||
|
|
@ -37,6 +41,7 @@
|
|||
hyperfine
|
||||
jujutsu
|
||||
just
|
||||
just-lsp
|
||||
lldb
|
||||
mask
|
||||
mprocs
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@
|
|||
experimental-features = "nix-command flakes";
|
||||
auto-optimise-store = true;
|
||||
# adding logged in users allows for passwordless root
|
||||
# trusted-users = ["root"];
|
||||
trusted-users = ["root" "@wheel"];
|
||||
system-features = [
|
||||
"benchmark"
|
||||
"big-parallel"
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ d = "doc --no-deps --open"
|
|||
|
||||
[build]
|
||||
target = "x86_64-unknown-linux-gnu"
|
||||
# rustc-wrapper = "${pkgs.sccache}/bin/sccache"
|
||||
# rustc-wrapper = "/path/to/sccache"
|
||||
rustflags = ["-Zthreads=0"]
|
||||
target-dir = "~/.cache/cargo/target"
|
||||
rustflags = ["-Z", "threads=8"]
|
||||
rustc-wrapper = "/path/to/sccache"
|
||||
|
||||
[unstable]
|
||||
codegen-backend = true
|
||||
|
|
@ -34,9 +34,8 @@ lto = "fat"
|
|||
# rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"]
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
# linker = "musl-gcc"
|
||||
# linker = "clang"
|
||||
# rustflags = ["-Ctarget-cpu=native", "-Clink-arg=--ld-path=wild"]
|
||||
linker = "clang"
|
||||
rustflags = ["-Ctarget-cpu=native", "-Clink-arg=--ld-path=wild"]
|
||||
|
||||
# jonhoo
|
||||
# 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