slight refactor/rocm packages
This commit is contained in:
parent
981d285606
commit
043ba21e98
4 changed files with 18 additions and 16 deletions
|
|
@ -13,12 +13,14 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# top
|
||||
environment.systemPackages = with pkgs; [ intel-gpu-tools ];
|
||||
hardware.intel-gpu-tools.enable = true;
|
||||
|
||||
boot.kernelParams = [
|
||||
# enable gpu virtualization
|
||||
"i915.enable_gvt=1"
|
||||
# explicitly enable power saving options (framebuffer compression)
|
||||
] ++ optional cfg.powersave "i915.enable_fbc=1";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue