- asdf - For managing different versions of Node and other stuff
- Install Python
sh
module to do shell stuff from Python- Drop into
python
repl and use like a shell, but with Python syntax
- Drop into
- On WSL,
apt install gnome-tweaks
to make GUI apps look better
Uses Oh My Posh for the prompt. An environment variable LIGHT_THEME
is set to either true or false, and inside the prompt file, a template chooses a different palette based on this environment variable.
sudo nixos-rebuild switch
NixOS configuration is in ~/nixfiles/configuration.nix
.
home-manager switch
Home Manager configuration is in ~/.config/home-manager
.
For NixOS:
nix-env --list-generations
nix-env --delete-generations <generations>
For Home Manager:
home-manager generations # List generations
home-manager remove-generations <generations>
Running the GC:
nix-store --gc
(from https://discourse.nixos.org/t/how-to-remove-grub-entries-in-grub-cfg/9059)
sudo nix-env --delete-generations old --profile /nix/var/nix/profiles/system # Mark old profiles to be deleted?
sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch
nix-store --gc # Garbage collect the old profiles
.background-image
is automatically used as the desktop wallpaper by NixOS.
screensaver.png
is set up to be used as the screensaver (user-specific config).