chore: seperate opengl config, power changes, bluetooth changes

This commit is contained in:
Ruben 2024-04-22 14:14:11 -05:00
commit 1852f2ece1
No known key found for this signature in database
GPG key ID: AE181294E97E4802
6 changed files with 56 additions and 15 deletions

View file

@ -12,6 +12,12 @@
# use shared configuration
../../config/nixos.nix
# laptop configuration
#../../config/laptop.nix
# intel opengl setup
../../config/intel.nix
];
# who up thonking they
@ -45,17 +51,6 @@
];
};
# opengl and graphics settings
# https://nixos.wiki/wiki/Accelerated_Video_Playback
hardware.opengl = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD
libvdpau-va-gl
];
};
environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; };
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave