This commit is contained in:
Tao Tien 2026-02-11 00:09:56 -08:00
parent 6eeee7ac88
commit ad083cc62c
9 changed files with 26 additions and 27 deletions

View file

@ -112,6 +112,7 @@
cargo-expand cargo-expand
cargo-feature cargo-feature
cargo-generate cargo-generate
cargo-nextest
cargo-update cargo-update
cargo-watch cargo-watch
dioxus-cli dioxus-cli
@ -123,7 +124,7 @@
rustup rustup
rusty-man rusty-man
sccache sccache
spacetimedb # spacetimedb
trunk trunk
wasm-bindgen-cli wasm-bindgen-cli
# keep-sorted end # keep-sorted end

View file

@ -132,6 +132,7 @@
fcitx5-gtk fcitx5-gtk
fcitx5-mozc fcitx5-mozc
fcitx5-rime fcitx5-rime
rime-ice
]; ];
}; };

View file

@ -19,7 +19,7 @@
environment.sessionVariables = { environment.sessionVariables = {
# # wayland chromium workaround # # wayland chromium workaround
# NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
# firefox nvidia-vaapi-driver # firefox nvidia-vaapi-driver
# MOZ_DISABLE_RDD_SANDBOX = "1"; # MOZ_DISABLE_RDD_SANDBOX = "1";

View file

@ -6,6 +6,7 @@
... ...
}: { }: {
users.users.tao.packages = with pkgs; [ users.users.tao.packages = with pkgs; [
grayjay
# keep-sorted start sticky_comments=no # keep-sorted start sticky_comments=no
# android-tools # android-tools
# boxxy # boxxy
@ -36,7 +37,6 @@
element-desktop element-desktop
gocryptfs gocryptfs
jellyfin-mpv-shim jellyfin-mpv-shim
keepassxc
man-pages man-pages
man-pages-posix man-pages-posix
miniserve miniserve

View file

@ -1,16 +0,0 @@
[Desktop Entry]
Categories=Utility;Security;Qt;
Comment=Community-driven port of the Windows application KeePass Password Safe
Exec=keepassxc %f
GenericName=Password Manager
Icon=keepassxc
MimeType=application/x-keepass2;
Name=KeePassXC
SingleMainWindow=true
StartupNotify=true
StartupWMClass=keepassxc
Terminal=false
TryExec=keepassxc
Type=Application
Version=1.5
X-GNOME-SingleWindow=true

View file

@ -69,7 +69,7 @@
j = "jump_view_up"; j = "jump_view_up";
k = "jump_view_down"; k = "jump_view_down";
}; };
i = "@:toggle las.display-inlay-hints"; i = "@:toggle lsp.display-inlay-hints<ret>";
t = { t = {
r = "@mip:reflow<ret>"; r = "@mip:reflow<ret>";
s = "@<A-s>:sort<ret>"; s = "@<A-s>:sort<ret>";
@ -192,6 +192,13 @@
unit = "\t"; unit = "\t";
}; };
} }
{
name = "microcad";
scope = "source.microcad";
file-types = ["µcad" "mcad" "ucad"];
language-servers = ["microcad-lsp"];
comment-tokens = "//";
}
{ {
name = "nix"; name = "nix";
auto-format = true; auto-format = true;
@ -238,6 +245,9 @@
# lspmux = { # lspmux = {
# command = "lspmux"; # command = "lspmux";
# }; # };
microcad-lsp = {
command = "microcad-lsp";
};
basedpyright = { basedpyright = {
command = "basedpyright-langserver"; command = "basedpyright-langserver";

View file

@ -15,10 +15,13 @@ alias cringe = sudo bootctl set-oneshot auto-windows
def h [query?: path] { def h [query?: path] {
(if ($query != null) {sk -1 -q ($query | path basename)} else {sk -1}) (if ($query != null) {sk -1 -q ($query | path basename)} else {sk -1})
| complete | if ($in != "") {
| if $in.exit_code == 0 { hx $in
$in.stdout | str trim | hx $in }
} # | complete
# | if $in.exit_code == 0 {
# $in.stdout | str trim | hx $in
# }
} }
def srg [] { def srg [] {
@ -36,6 +39,7 @@ 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` alias jt = jj log -r @ -T `description`
alias jn = jj next --edit
def jm --wrapped [-r: string = "@", ...rest] { def jm --wrapped [-r: string = "@", ...rest] {
mut r = $r mut r = $r

View file

@ -67,9 +67,9 @@ def bump [...rest] {
} }
let r = jj log -r @ --no-pager --no-graph --template 'change_id' let r = jj log -r @ --no-pager --no-graph --template 'change_id'
sudo nix flake update sudo nix flake update
let curr_gen = get_gen() let curr_gen = get_gen
let build_status = rebuild boot let build_status = rebuild boot
let new_gen = get_gen() let new_gen = get_gen
if ($build_status and ($curr_gen == $new_gen)) { if ($build_status and ($curr_gen == $new_gen)) {
jj desc -r $r -m $"bump (date now | format date "%Y-%m-%d")" jj desc -r $r -m $"bump (date now | format date "%Y-%m-%d")"
jj bookmark set main -r $r jj bookmark set main -r $r

View file

@ -11,7 +11,6 @@
audacity audacity
cosmic-store cosmic-store
jellyfin-media-player jellyfin-media-player
keepassxc
onlyoffice-desktopeditors onlyoffice-desktopeditors
signal-desktop signal-desktop
snapper snapper