Stuff


I use this site as a memory helper for stuff I keep forgetting. Don't run code on here without knowing what it does.




Archlinux Maintenance

Install paccache with # pacman -S pacman-contrib. # paccache -r to clean the package manager's cache.

List orphan packages with $ pacman -Qdtq. Remove orphan packages with # pacman -Qtdq | sudo pacman -Rns -.

Delete cache with $ rm -rf ~/.cache/*

Find out how much space is being use...

Continue Reading...


fwupdmgr

Refresh the local database with fwupdmgr refresh

Download any updates with fwupdmgr get-updates

Apply the updates with fwupdmgr update


Updating NixOS

Garbage collection isn't 100% necessary but I was running out of space on a Proxmox VM quite often

sudo nix-collect-garbage -d

Update with:

sudo nix-channel --update

sudo nixos-rebuild switch

Flakes are a different thing altogether. More on that maybe later.