This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env bash | |
| set -x -e -o pipefail | |
| # PoC of nixos-substrate | |
| # | |
| # substrate n. | |
| # portmanteau of "subdir" and "lustrate" | |
| # (also a real word that means something relevant, probably) | |
| # | |
| # fanfiction of nixos-bite https://gist.github.com/whitequark/b2ebce6ce77f4b29e37dffc4cbd45873 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| import logging | |
| import os | |
| import signal | |
| import socket | |
| import sys | |
| import time | |
| from select import select | |
| from evdev import InputDevice, ecodes, list_devices |