mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 09:47:52 +00:00
[Mesa+Hardware] move Mesa specific options to a dedicated files
This commit is contained in:
parent
250820cb82
commit
d3e80fda86
7 changed files with 58 additions and 13 deletions
|
|
@ -4,7 +4,6 @@ let
|
|||
cfg = config.aviallon.hardware.amd;
|
||||
devCfg = config.aviallon.developer;
|
||||
generalCfg = config.aviallon.general;
|
||||
myMesa = if generalCfg.unsafeOptimizations then pkgs.mesaOptimized else pkgs.mesa;
|
||||
in {
|
||||
config = mkIf (cfg.enable && cfg.kernelDriver == "amdgpu") {
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue