sort and remove old pkgs

This commit is contained in:
Tao Tien 2025-03-06 17:05:34 -08:00
parent 92e6f5f0f2
commit a34a37b45b
5 changed files with 36 additions and 35 deletions

View file

@ -1,41 +1,41 @@
{pkgs, ...}: { {pkgs, ...}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
devenv
act
aichat
# (llm.withPlugins (ps: with ps; [llm-openrouter])) # (llm.withPlugins (ps: with ps; [llm-openrouter]))
# llm
aider-chat
# digital
asm-lsp
gh
# bash-language-server # bash-language-server
qemu # digital
# quickemu
# lychee # link checker
# etcher # etcher
# freecad
# vulkan-loader
# fontforge # fontforge
# freecad
# llm
# lychee # link checker
# quickemu
# radicle-node # radicle-node
hyperfine # benchmarking # vulkan-loader
markdown-oxide # act
git-cliff # aichat
# aider-chat
# asm-lsp
b3sum b3sum
devenv
direnv direnv
gh
git-cliff
hyperfine
jujutsu jujutsu
just just
lldb lldb
lua-language-server lua-language-server
markdown-oxide
qFlipper qFlipper
qemu
sd sd
sshfs sshfs
taplo # toml lsp taplo # toml lsp
tio tio
tokei tokei # repo code stats
typos typos
# databases # # databases
# sqlite # sqlite
# sqls # sqls
# sqlx-cli # sqlx-cli
@ -73,11 +73,6 @@
ruff ruff
ruff-lsp ruff-lsp
# go
# go
# gopls
# delve
# rust # rust
cargo-binstall cargo-binstall
bacon bacon

View file

@ -6,13 +6,13 @@
... ...
}: { }: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
inputs.zen-browser.packages."${system}".default
# inputs.helix.packages.${pkgs.system}.default # inputs.helix.packages.${pkgs.system}.default
# screen
bat bat
bottom bottom
cifs-utils cifs-utils
dumbpipe
du-dust du-dust
dumbpipe
exfatprogs exfatprogs
fastfetch fastfetch
ffmpeg ffmpeg
@ -20,14 +20,14 @@
git git
helix helix
inputs.agenix.packages.${pkgs.system}.default inputs.agenix.packages.${pkgs.system}.default
sendme inputs.zen-browser.packages."${system}".default
mesa mesa
mpv mpv
ouch ouch
pueue pueue
ripgrep ripgrep
rustdesk rustdesk
# screen sendme
skim skim
tree tree
wezterm wezterm

View file

@ -6,7 +6,6 @@
... ...
}: { }: {
users.users.tao.packages = with pkgs; [ users.users.tao.packages = with pkgs; [
gocryptfs
# calibre # calibre
# davinci-resolve # davinci-resolve
# fractal # fractal
@ -22,14 +21,15 @@
aspell aspell
aspellDicts.en aspellDicts.en
bottles bottles
boxxy # boxxy
carapace # carapace
cloud-hypervisor # cloud-hypervisor
darktable darktable
deluge deluge
discord discord
freecad-wayland freecad-wayland
freerdp # freerdp
gocryptfs
gurk-rs gurk-rs
jellyfin-media-player jellyfin-media-player
kdePackages.plasma-vault kdePackages.plasma-vault
@ -47,7 +47,7 @@
onlyoffice-bin onlyoffice-bin
pandoc pandoc
pipe-rename pipe-rename
piper # piper
prusa-slicer prusa-slicer
qmk qmk
qmk-udev-rules qmk-udev-rules
@ -58,7 +58,7 @@
starship starship
syncthingtray syncthingtray
taskwarrior3 taskwarrior3
thunderbird # thunderbird
tinymist tinymist
toastify toastify
typst typst

View file

@ -63,6 +63,7 @@
}; };
keys.normal.space.t = { keys.normal.space.t = {
r = "@mip:reflow<ret>"; r = "@mip:reflow<ret>";
s = "@|lines | sort | to text<ret>";
}; };
}; };
languages = { languages = {

View file

@ -9,8 +9,13 @@ def nr [package] {
} }
def rebuild --wrapped [subcommand, --builders: string, ...rest] { def rebuild --wrapped [subcommand, --builders: string, ...rest] {
mut builders = $builders;
if (open /etc/hostname --raw) == "NOlaptop\n" and ($builders != "") { if (open /etc/hostname --raw) == "NOlaptop\n" and ($builders != "") {
if (ping -c1 -W1 nocomputer | complete | $in.exit_code == 0) {
sudo nix store info --store ssh://nocomputer sudo nix store info --store ssh://nocomputer
} else {
$builders = ""
}
} }
if ($builders == "") { if ($builders == "") {
sudo systemd-inhibit nice -n19 nixos-rebuild $subcommand --flake . --impure --verbose --builders "" sudo systemd-inhibit nice -n19 nixos-rebuild $subcommand --flake . --impure --verbose --builders ""