added hyprland and wayland

This commit is contained in:
Forestcat 2023-11-26 20:23:42 +01:00
parent 932ffafc88
commit a0161c5c3c

View file

@ -150,7 +150,7 @@
# Enabling wayland
# programs.sway.enable = true;
# xdg.portal.wlr.enable = true;
xdg.portal.enable = true;
# services.xserver.wayland.enable = true;
# Enabling awesome WM
@ -164,7 +164,22 @@
# Enabling LightDM
# services.xserver.displayManager.lightdm.enable = true;
# Configuring lighdm greeter
# Hyperland
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
environment.sessionVariables = {
# WLR_NO_HARDWARE_CURSORS = "1"; # if mouse cursor invisible
NIXOS_OZONE_WL = "1"; # hint electron apps to use wayland
};
hardware = {
opengl.enable = true; # Enable opengl
nvidia.modesetting.enable = true;
};
# Enabling Pipewire for Audio Support