stufe
This commit is contained in:
parent
89042ffe3b
commit
a4ef3a984f
6 changed files with 23 additions and 13 deletions
|
|
@ -98,7 +98,6 @@
|
||||||
# leptosfmt
|
# leptosfmt
|
||||||
# keep-sorted start
|
# keep-sorted start
|
||||||
bacon
|
bacon
|
||||||
dioxus-cli
|
|
||||||
cargo-autoinherit
|
cargo-autoinherit
|
||||||
cargo-binstall
|
cargo-binstall
|
||||||
cargo-edit
|
cargo-edit
|
||||||
|
|
@ -107,6 +106,7 @@
|
||||||
cargo-generate
|
cargo-generate
|
||||||
cargo-update
|
cargo-update
|
||||||
cargo-watch
|
cargo-watch
|
||||||
|
dioxus-cli
|
||||||
elf2uf2-rs
|
elf2uf2-rs
|
||||||
flip-link
|
flip-link
|
||||||
mdbook
|
mdbook
|
||||||
|
|
@ -115,6 +115,7 @@
|
||||||
rustup
|
rustup
|
||||||
rusty-man
|
rusty-man
|
||||||
sccache
|
sccache
|
||||||
|
spacetimedb
|
||||||
trunk
|
trunk
|
||||||
wasm-bindgen-cli
|
wasm-bindgen-cli
|
||||||
# keep-sorted end
|
# keep-sorted end
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@
|
||||||
systemd.services.display-manager.restartIfChanged = false;
|
systemd.services.display-manager.restartIfChanged = false;
|
||||||
services.desktopManager.cosmic.enable = lib.mkDefault true;
|
services.desktopManager.cosmic.enable = lib.mkDefault true;
|
||||||
services.displayManager.cosmic-greeter.enable = lib.mkDefault true;
|
services.displayManager.cosmic-greeter.enable = lib.mkDefault true;
|
||||||
|
services.system76-scheduler.enable = lib.mkDefault true;
|
||||||
environment.cosmic.excludePackages = with pkgs; [
|
environment.cosmic.excludePackages = with pkgs; [
|
||||||
cosmic-edit
|
cosmic-edit
|
||||||
cosmic-player
|
cosmic-player
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ codegen-backend = "cranelift"
|
||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
# slow clean build for faster incrementals
|
# slow clean build for faster incrementals
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
codegen-backend = "llvm"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
incremental = true
|
incremental = true
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,12 @@
|
||||||
normal = {
|
normal = {
|
||||||
j = "move_line_up";
|
j = "move_line_up";
|
||||||
k = "move_line_down";
|
k = "move_line_down";
|
||||||
|
z = {
|
||||||
|
j = "scroll_up";
|
||||||
|
k = "scroll_down";
|
||||||
|
};
|
||||||
|
C-j = "scroll_up";
|
||||||
|
C-k = "scroll_down";
|
||||||
};
|
};
|
||||||
normal.space = {
|
normal.space = {
|
||||||
l = "@:reload-all<ret>";
|
l = "@:reload-all<ret>";
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ alias jg = jj git clone --colocate
|
||||||
alias jp = jj git push
|
alias jp = jj git push
|
||||||
alias js = jj status
|
alias js = jj status
|
||||||
alias jw = jj workspace update-stale
|
alias jw = jj workspace update-stale
|
||||||
|
alias jt = jj log -r @ -T `description`
|
||||||
|
|
||||||
def jm --wrapped [-r: string = "@", ...rest] {
|
def jm --wrapped [-r: string = "@", ...rest] {
|
||||||
mut r = $r
|
mut r = $r
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,3 @@
|
||||||
alias nd = nix develop
|
|
||||||
|
|
||||||
def ns [...packages: string] {
|
|
||||||
let packages = $packages | each {$"nixpkgs#($in)"}
|
|
||||||
nix shell ...$packages
|
|
||||||
}
|
|
||||||
|
|
||||||
# def nr [package] {
|
|
||||||
# nix search nixpkgs $package
|
|
||||||
# }
|
|
||||||
|
|
||||||
def --wrapped rebuild [--force (-f), subcommand, ...rest] {
|
def --wrapped rebuild [--force (-f), subcommand, ...rest] {
|
||||||
if not (
|
if not (
|
||||||
df -h | detect columns --guess | where "Mounted on" == "/" or "Mounted on" == "/boot" | get Use% | each {parse "{usage}%" | get usage | into int} | flatten | all {$in < 99}
|
df -h | detect columns --guess | where "Mounted on" == "/" or "Mounted on" == "/boot" | get Use% | each {parse "{usage}%" | get usage | into int} | flatten | all {$in < 99}
|
||||||
|
|
@ -27,7 +16,7 @@ def --wrapped rebuild [--force (-f), subcommand, ...rest] {
|
||||||
}
|
}
|
||||||
|
|
||||||
ulimit -n 65535
|
ulimit -n 65535
|
||||||
sudo systemd-inhibit nice -n19 nixos-rebuild $subcommand --flake . --accept-flake-config --impure --verbose ...$rest o+e>| nom
|
sudo systemd-inhibit nice -n19 nixos-rebuild $subcommand --flake . --accept-flake-config --impure --show-trace --verbose ...$rest o+e>| nom
|
||||||
|
|
||||||
if $env.LAST_EXIT_CODE == 0 {
|
if $env.LAST_EXIT_CODE == 0 {
|
||||||
toastify send "rebuild" "done!"
|
toastify send "rebuild" "done!"
|
||||||
|
|
@ -38,6 +27,17 @@ def --wrapped rebuild [--force (-f), subcommand, ...rest] {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias nd = nix develop
|
||||||
|
|
||||||
|
def ns [...packages: string] {
|
||||||
|
let packages = $packages | each {$"nixpkgs#($in)"}
|
||||||
|
nix shell ...$packages
|
||||||
|
}
|
||||||
|
|
||||||
|
# def nr [package] {
|
||||||
|
# nix search nixpkgs $package
|
||||||
|
# }
|
||||||
|
|
||||||
def post-rebuild [] {
|
def post-rebuild [] {
|
||||||
rm -r ~/.config/helix/runtime/grammars/
|
rm -r ~/.config/helix/runtime/grammars/
|
||||||
hx --grammar fetch; hx --grammar build
|
hx --grammar fetch; hx --grammar build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue