Dotfiles/README.md

79 lines
2.4 KiB
Markdown
Raw Permalink Normal View History

2024-01-06 14:19:39 +00:00
# Dotfiles
These are my dotfiles. As you will notice, they are quite simple. Over the
years, I have built up many complex and fancy init scripts for many different
programs, but I've come to realize that sometimes simplicity and defaults are
better.
The dotfiles here are just the basics—useful aliases and functions that
have stuck around throughout the years. They're minimal, but useful. The main
part of my `.ashrc` is the customized prompt, which supports showing the current
`git` branch.
My shell init scripts are written in POSIX shell, so they should work on any
shell. As I've hopped from Ubuntu to Arch to OpenBSD to FreeBSD and now to
2024-01-09 23:09:26 +00:00
Alpine, I've used a lot of shells, and I want my init scripts to work on all
2024-01-06 14:19:39 +00:00
of them out of the box.
## System Setup
My current operating system of choice is Alpine Linux. If I ever re-install,
this is the set up procedure:
```
2024-04-18 00:09:37 +00:00
setup-desktop gnome
apk add networkmanager-wifi wpa_supplicant
rc-update add wpa_supplicant default
rc-update add networkmanager default
# Printing
2024-04-18 00:09:37 +00:00
apk add system-config-printer cups cups-filters
rc-update add cupsd default
# Scanning
2024-04-18 00:09:37 +00:00
apk add sane-backends # Gnome scanner will pick up network scanners now
2024-01-09 23:09:26 +00:00
# Other GUI applications
2024-04-18 00:09:37 +00:00
apk add libreoffice musescore nextcloud-client
2024-01-14 19:23:50 +00:00
# Spell checking in Libreoffice.
apk add hunspell hunspell-en hunspell-en-us
# Development
apk add neovim pandoc git less make gcc musl-dev openssl-dev mandoc man-pages
```
2024-04-19 20:41:12 +00:00
To make sure sound and webcams work:
```
doas addgroup $USER audio
doas addgroup $USER video
```
### Firefox
I use the following Firefox extensions:
- [ClearURLs](https://addons.mozilla.org/en-US/firefox/addon/clearurls/)
- [Bypass Paywalls Clean](https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean)
- [Nextcloud Passwords](https://addons.mozilla.org/en-US/firefox/addon/nextcloud-passwords)
- [Plasma Integration](https://addons.mozilla.org/en-US/firefox/addon/plasma-integration/)
- [uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/)
### Files
Theoretically, everything important that I care about should live in
`~/Documents` and `~/Projects`, so I just have to copy those folders over to new
systems.
### Backup
I use the following command to back up my stuff to my server, which then takes a
ZFS snapshot for me:
```
rsync -av --delete --exclude .cache "$HOME/" server:$HOME/"
```
Eventually I will use ZFS on my laptop.