Skip to content

Commit

Permalink
[chore}: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rxyhn committed Dec 31, 2023
1 parent adeb09f commit 354b8bc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions hosts/yuki/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ in {
environment = {
systemPackages = with pkgs; [
acpi
libva
libva-utils
vulkan-loader
vulkan-validation-layers
vulkan-tools
Expand All @@ -66,13 +68,18 @@ in {
hardware = {
enableAllFirmware = true;
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;

extraPackages = with pkgs; [
vaapiIntel
libvdpau-va-gl
vaapiVdpau
intel-ocl
nvidia-vaapi-driver
];

extraPackages32 = with pkgs.pkgsi686Linux; [
vaapiIntel
libvdpau-va-gl
Expand All @@ -83,11 +90,18 @@ in {
nvidia = {
open = true;
modesetting.enable = true;

powerManagement = {
enable = true;
finegrained = true;
};

prime = {
offload = {
enable = true;
enableOffloadCmd = true;
};

intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
Expand Down

0 comments on commit 354b8bc

Please sign in to comment.