Passthru NixOS system & OpenGL Driver#38
Passthru NixOS system & OpenGL Driver#38RossComputerGuy wants to merge 1 commit intoAsahiLinux:mainfrom
Conversation
9a791fe to
2183a0f
Compare
Signed-off-by: Tristan Ross <tristan.ross@midstall.com>
2183a0f to
41abb0b
Compare
|
Gets as far as: Then hangs, it's progress |
|
@teohhanhui PTAL. |
|
This seems like it's maybe the wrong approach? https://nixos.wiki/wiki/OpenGL Disclaimer: I have never used NixOS or even Nix. I'm just basing my judgement on the documentation I can find. But if this is required, I think we could just automatically mount |
Yeah this is the first time I coded in Rust and I'm not entirely sure how krun works so this was the approach I could come up with.
New wiki: https://wiki.nixos.org/wiki/OpenGL
|
|
I'm torn over whether we should share /run as a whole or not. There are things like /run/media that make sense to share. On the other hand, that doesn't work even if you do mount it right now due to missing POSIX ACL support... One thing we do have since a recent change is Aside: I think it's worth implementing a feature to run a user-specified script as root on VM startup. There are going to be people with custom setups who want to do some mount management or other root-requiring tasks on VM startup. |
Yeah, I think that might be a good way.
True, some sort of pre and post run scripts that could be specific or pulled from home might be good as well. |
|
This PR is obsolete now |
Fixes #37 by passing thru the NixOS system and OpenGL driver.