this post was submitted on 05 Mar 2026
9 points (84.6% liked)

Pulse of Truth

2329 readers
163 users here now

Cyber Security news and links to cyber security stories that could make you go hmmm. The content is exactly as it is consumed through RSS feeds and wont be edited (except for the occasional encoding errors).

This community is automagically fed by an instance of Dittybopper.

founded 2 years ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[–] notabot@piefed.social 7 points 1 day ago

It seems like it would be a lot simpler to have a udev rule that triggers when the specific device is removed and runs the forced reboot. That way you don't have an extra daemon running, and you can trigger on other devices too, for instance, your mouse.

[–] varnia@lemmy.blahaj.zone 3 points 1 day ago

Interesting. I wonder if you can define a udev rule with the S/N of the device and have a delcarative NixOS definition for that. I found my weekend project!