sort and remove old pkgs
This commit is contained in:
parent
92e6f5f0f2
commit
a34a37b45b
5 changed files with 36 additions and 35 deletions
|
|
@ -6,7 +6,6 @@
|
|||
...
|
||||
}: {
|
||||
users.users.tao.packages = with pkgs; [
|
||||
gocryptfs
|
||||
# calibre
|
||||
# davinci-resolve
|
||||
# fractal
|
||||
|
|
@ -22,14 +21,15 @@
|
|||
aspell
|
||||
aspellDicts.en
|
||||
bottles
|
||||
boxxy
|
||||
carapace
|
||||
cloud-hypervisor
|
||||
# boxxy
|
||||
# carapace
|
||||
# cloud-hypervisor
|
||||
darktable
|
||||
deluge
|
||||
discord
|
||||
freecad-wayland
|
||||
freerdp
|
||||
# freerdp
|
||||
gocryptfs
|
||||
gurk-rs
|
||||
jellyfin-media-player
|
||||
kdePackages.plasma-vault
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
onlyoffice-bin
|
||||
pandoc
|
||||
pipe-rename
|
||||
piper
|
||||
# piper
|
||||
prusa-slicer
|
||||
qmk
|
||||
qmk-udev-rules
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
starship
|
||||
syncthingtray
|
||||
taskwarrior3
|
||||
thunderbird
|
||||
# thunderbird
|
||||
tinymist
|
||||
toastify
|
||||
typst
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@
|
|||
};
|
||||
keys.normal.space.t = {
|
||||
r = "@mip:reflow<ret>";
|
||||
s = "@|lines | sort | to text<ret>";
|
||||
};
|
||||
};
|
||||
languages = {
|
||||
|
|
|
|||
|
|
@ -9,8 +9,13 @@ def nr [package] {
|
|||
}
|
||||
|
||||
def rebuild --wrapped [subcommand, --builders: string, ...rest] {
|
||||
mut builders = $builders;
|
||||
if (open /etc/hostname --raw) == "NOlaptop\n" and ($builders != "") {
|
||||
sudo nix store info --store ssh://nocomputer
|
||||
if (ping -c1 -W1 nocomputer | complete | $in.exit_code == 0) {
|
||||
sudo nix store info --store ssh://nocomputer
|
||||
} else {
|
||||
$builders = ""
|
||||
}
|
||||
}
|
||||
if ($builders == "") {
|
||||
sudo systemd-inhibit nice -n19 nixos-rebuild $subcommand --flake . --impure --verbose --builders ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue