juliekoubova / machines

Ansible all the things.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Machine Provisioning Scripts

Some Potentially Useful Stuff

udev ruleset and script that mounts and unmounts all partitions when a USB disk is connected or disconnected.

Makes DRM-protected media play in Firefox on Alpine Linux (and potentially other musl-based distros). Works by patching widevinecdm.so to load gcompat.so. Caution: disables Firefox's Media Plugin sandbox!

A hacky script that sends a FreeDesktop notification to all DBus sessions. Works by enumerating run-dbus-session processes, reading their children's environment to extract the DBus socket path, and calling notify-send on each of them.

Bootstrap

To bootstrap a new machine, run

# wget https://raw.github.com/juliekoubova/machines/main/scripts/bootstrap -q -O - | sh

To unlock the secrets, install git-crypt and run

git-crypt unlock /path/to/the/keyfile

About

Ansible all the things.


Languages

Language:Shell 55.6%Language:Jinja 23.3%Language:Python 12.2%Language:PowerShell 8.9%