Based on a true story - SLRPNK

What distro?

On Fedora Atomic Desktops:

If you deleted /etc then you can copy it from /usr/etc

Your fstab, shadow, crypttab, gpasswd and quite some other files are gone though, which is problematic.

gitlab.com/fedora/ostree/sig/-/issues/28

Factory reset capability (#28) · Issues · fedora / Fedora Atomic Desktops / SIG Issue Tracker · GitLab

Android and other established immutable Operating systems have a reset capability, that can be implemented in Fedora Atomic Desktops. This issue can act as a meta-issuetracker...

GitLab