added hyprland and wayland
This commit is contained in:
parent
932ffafc88
commit
a0161c5c3c
1 changed files with 17 additions and 2 deletions
|
@ -150,7 +150,7 @@
|
||||||
|
|
||||||
# Enabling wayland
|
# Enabling wayland
|
||||||
# programs.sway.enable = true;
|
# programs.sway.enable = true;
|
||||||
# xdg.portal.wlr.enable = true;
|
xdg.portal.enable = true;
|
||||||
# services.xserver.wayland.enable = true;
|
# services.xserver.wayland.enable = true;
|
||||||
|
|
||||||
# Enabling awesome WM
|
# Enabling awesome WM
|
||||||
|
@ -164,7 +164,22 @@
|
||||||
# Enabling LightDM
|
# Enabling LightDM
|
||||||
# services.xserver.displayManager.lightdm.enable = true;
|
# 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
|
# Enabling Pipewire for Audio Support
|
||||||
|
|
Loading…
Reference in a new issue