Working on thor
This commit is contained in:
parent
98eb9954ae
commit
7eee9cd4d1
3 changed files with 25 additions and 6 deletions
17
modules/nixos/hyprland.nix
Normal file
17
modules/nixos/hyprland.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue