-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
[QUESTION]: How can I install nvidia driver on Athena Nix #9
Comments
It is the same as installing the driver under NixOS, follow the instruction here : https://nixos.wiki/wiki/Nvidia |
@D3vil0p3r TBC |
I have a module laying around we can add this somewhere:
|
It should be managed at install level. Athena installer has several ways to recon your GPU. I should check if the autogpu driver install was implemented or not |
@DerDennisOP can you implement Nvidia and AMDGpu modules in Athena Nix but by setting them as false? So the installer will switch them to true if one of those gpu is detected? |
tbh I have no idea about the installer, but we can add some nvidia hardware module and turn it on when needed. Whatever you decide. I havn't had problems with amd gpus yet, since setting them up is as simple as that:
|
Is a module really needed, doesn't nixos-generate-config already detects hardware and generates proper configuration ? Also using : https://github.com/NixOS/nixos-hardware |
no thats not the case |
Btw here are the module you're looking to write I think : https://github.com/NixOS/nixos-hardware/blob/d830ad47cc992b4a46b342bbc79694cbd0e980b2/common/gpu/ |
IMHO, here is what we should try and auto detect, to import profiles for hardware quirks during install : If you want to work on it let me know @DerDennisOP I maybe able to help |
no thats not the case
we cant use nixos-hardware since it has servers and desktops that are common builds there wont be every user specific configuration there. we might be able to take a module from there. But since I'm not familiar with this I'm sure you can handle it alone better ;) |
I still don't understand your comment, I'm sorry if I miss anything but profiles are specific to hardware platforms, common modules are only defined so options can be toggled on/off, see for instance these framework laptops profiles : I don't see any Framework servers yet, if you happen to see any let me know User configuration should be left to users, if they want to run bleeding edge Nvidia drivers, they could override the profile. |
@AkechiShiro thank you for reviewing your comment. @DerDennisOP what is your proposal? The installer practically detects the GPU model implemented on the system and my idea was to switch to true Nvidia or AMD nix attributes. |
@D3vil0p3r I would say adding a module enabling all the options needed options for Nvidia and AMD. After that we can just enable it by setting e.g. a "gpu" value to "nvidia" or "amd" |
Yes. It can be also changed automatically by Aegis installer once implemented. Im trying to make cyber-toolnix as a module instead of a Rust program. |
No description provided.
The text was updated successfully, but these errors were encountered: