mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
wayland
This commit is contained in:
parent
1dceb31d30
commit
3370487652
4 changed files with 22 additions and 6 deletions
|
|
@ -35,7 +35,7 @@
|
|||
# This is to fix clementine gui not showing up on wayland
|
||||
environment.variables.QT_QPA_PLATFORM = "wayland";
|
||||
services.udisks2.enable = true;
|
||||
# environment.sessionVariables.NIXOS_OZONE_WL = "1"; # Required for some Electron apps
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1"; # Required for some Electron apps
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@
|
|||
hardware.graphics.enable32Bit = true;
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.enable = true; # Required for HDMI/DP audio on many cards
|
||||
powerManagement.finegrained = false;
|
||||
open = true; # Use the open-source kernel module (recommended for RTX 20+ cards)
|
||||
nvidiaSettings = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue