This reverts commit c0cef0425e. The output of the command-line tool has changed somewhat and at least nixos-generate-config.pl needs modifications to match. I'm leaving that to someone who knows a bit more about btrfs. Issue #24810.
c0cef0425e