# here is where my aliases go yo
alias alias-edit="vim ~/.local/config/alias_config && source ~/.local/config/alias_config && echo 'Alias updated. \n'"
## Modern cli
alias ls="exa"
alias find="fdfind"
## System 76
alias battery-full="system76-power charge-thresholds --profile full_charge"
alias battery-balanced="system76-power charge-thresholds --profile balanced"
alias battery-maxhealth="system76-power charge-thresholds --profile max_lifespan"
## Maintenance
alias update-flatapt="sudo apt update && sudo apt upgrade -y && flatpak update --assumeyes"
## Misc
alias tree="exa --tree"
## Incus
alias devi-do="sudo incus exec dev0 -- su -l devi"
## Some programs
alias code="flatpak run com.visualstudio.code"
~
Or if you like beating your head against a brick wall constantly NixOS is really hard to brick. Any update that fails can just be reverted with a reboot.
Of course the downside is poor documentation, and nothing at all works like you expect it to work. It's like hey, you want to learn Linux again from scratch? And by the way no two things work the same.
Apparently apt has a stroke sometimes. I don't think I've had an update fuck up this bad but it's better to read the output so you know what changed in case something stops working.
Quick FYI - Exa is no longer fully maintained; there is a fork called Eza which is maintained. They couldn't take over the original Exa repo as the original creator is unreachable. Eza is in many distros; I've installed it on OpenSuSe Tumbleweed with ease from the factory-oss.