-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passthru NixOS system & OpenGL Driver #38
base: main
Are you sure you want to change the base?
Conversation
9a791fe
to
2183a0f
Compare
Signed-off-by: Tristan Ross <[email protected]>
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. |
Fixes #37 by passing thru the NixOS system and OpenGL driver.