<<<

dotfiles

I keep updated scripts for this here

There’s a good guide on sway here, since that’s still a little new for me, coming from dwm and i3.

I used to have an OpenBSD guide here, but I got tired of maintaining that, since I’m consistently disappointed with the desktop experience in OpenBSD. I love and support the project, just not its regular use as a workstation OS.

Debian 12

If you’re using VMWare Workstation on a Windows host, remember to enable the “Enhanced Keyboard” driver in the guest configuration, so you don’t have a lockscreen key combination conflict.

Run through standard install. Install just the standard system utilities, and sshd.

Log in as your user. su to root.

Install curl, git, micro, sudo.

apt install curl micro git sudo

Add your user to sudoers

sudoedit /etc/sudoers

Install salt-minion

mkdir /etc/apt/keyrings

sudo curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023.gpg \
https://repo.saltproject.io/salt/py3/debian/12/amd64/SALT-PROJECT-GPG-PUBKEY-2023.gpg

echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg \
 arch=amd64] https://repo.saltproject.io/salt/py3/debian/12/amd64/latest \
 bookworm main" | tee /etc/apt/sources.list.d/salt.list

apt update

apt install salt-minion

Head back to your local user

exit

Grab this repo. If you’re going to fork this and make your own dotfiles, you might want to make a step before the cloning bit where you scp your ssh key to the workstation you’re building so you can read/write the repo, and then push your changes back live. If you’re just getting a system running, though, read alone is enough here.

git clone https://github.com/davidemerson/dotfiles.git

Execute the execute.sh script, which refreshes the /srv/salt/ directory and applies highstate.

cd dotfiles
chmod 755 execute.sh
sudo sh execute.sh

Run fc-cache to update fonts.

fc-cache

Keep salt-minion from starting (unnecessary since we’re using salt-check). Use your editor of choice to comment out the pkg_scripts=salt_minion line in /etc/rc.conf.local.

Make your hostname appropriate by editing /etc/myname with the editor of your choice.

Reboot

sudo reboot

Notes

Additional References

Check out how others have done this kind of thing, for inspiration and documentation:

home | github | mastodon

XXIIVV webring