Working on thor

This commit is contained in:
Filippo Berto 2023-11-12 20:54:48 +01:00
parent 98eb9954ae
commit 7eee9cd4d1
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
3 changed files with 25 additions and 6 deletions

View file

@ -0,0 +1,17 @@
{ config, ... }: {
programs.hyprland = {
enable = true;
nvidiaPatches = builtins.elem "nvidia" config.services.xserver.videoDrivers;
xwayland.enable = true;
};
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
NIXOS_OZONE_WL = "1";
};
hardware = {
opengl.enable = true;
nvidia.modesetting.enable = builtins.elem "nvidia" config.services.xserver.videoDrivers;
};
}