mirror of
https://git.gay/sneexy/nixos.git
synced 2026-01-11 13:13:15 -08:00
chore: seperate opengl config, power changes, bluetooth changes
This commit is contained in:
parent
e23148857f
commit
1852f2ece1
6 changed files with 56 additions and 15 deletions
|
|
@ -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. It‘s perfectly fine and recommended to leave
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue