My NixOS configuration.
. .
/ `. .' \
.---. < > < > .---.
| \ \ - ~ ~ - / / |
~-..-~ ~-..-~
\~~~\.' `./~~~/
.-~~^-. \__/ \__/
.' O \ / / \ \
(_____, `._.' | } \/~~~/
`----. / } | / \__/
`-. | / | / `. ,~~|
~-.__| /_ - ~ ^| /- _ `..-' f: f:
| / | / ~-. `-. _||_||_
|_____| |_____| ~ - . _ _ _ _ _>
Cheatsheet of useful NixOS and git commands:
sudo nix-collect-garbage -d
nix-collect-garbage -d
nix flake update
sudo nixos-rebuild switch --flake .
home-manager switch --flake .
home-manager news --flake .
git commit --amend
git reset --hard #Returns all files to how they were at HEAD, the latest commit
git reset --hard HEAD~1 #The same but with the previous commit
git stash #Stashes local changes so you can return to this state
git restore
gamemoderun %command% #Launch option for Steam games