Yeah this is a good use case for it, if I remember right you can also trivially generate a live installer iso from the same nix configuration you'd use to run any usual updates. So you can make a custom installer for your exact configuration and copy that onto a flash drive to bootstrap you into a working environment. I think the live installer would generate something like a hardware-configuration.nix too.
wheresmysurplusvalue
I've got a similar use case and went with an X13 Thinkpad (AMD). It's good for hardware support, but if you want a good experience for watching videos, I'd look somewhere else. The display and audio are not that good.
I don't know if this is possible or even advisable, but theoretically maybe the NIC could be hardware passed through to a linux VM, and then configure the host to use the guest VM as a gateway? It'd be kind of a nuts solution but it'd get points for creativity. Guest VM takes hardware control of the NIC and the host connects to the VM like it's a separate device on the same network.
Something like the question posed here
You'd have to solve a few separate problems that might not be worth it, unfortunately I don't have these answers:
- Hardware passthrough to the guest (does it require any special drivers on windows/is this idea already dead in the water?)
- How to configure VM networking properly so that the host can use the connection (is it enough to configure the connection as bridged?)
- Performance
There are some browser based solutions like sharedrop.io and file.pizza. I haven't had the latter work for me though, not sure if it's still functional. They work through WebRTC to discover local candidates for receiving files, the same way that video calling typically finds the best connection.
Security
ShareDrop uses a secure and encrypted peer-to-peer connection to transfer information about the file (its name and size) and file data itself. This means that this data is never transfered through any intermediate server but directly between the sender and recipient devices. To achieve this, ShareDrop uses a technology called WebRTC (Web Real-Time Communication), which is provided natively by browsers. You can read more about WebRTC security here.
That's sweet, I didn't think about using nixos-anywhere for this purpose (just simplifying the install process on a new machine). I used it to great success to install NixOS on a VPS that only had a few OS options like Debian.