proper repo
This commit is contained in:
parent
33d01daa3d
commit
8a35a32445
17 changed files with 338 additions and 109 deletions
20
modules/wayland.nix
Normal file
20
modules/wayland.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ den, ... }: {
|
||||
den.aspects.wayland.nixos = {
|
||||
environment.sessionVariables = {
|
||||
# Core Wayland session
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
CLUTTER_BACKEND = "wayland";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
|
||||
# Browser / Electron Wayland backends
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
MOZ_USE_XINPUT2 = "1";
|
||||
ELECTRON_OZONE_PLATFORM_HINT = "wayland";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
|
||||
# OpenGL / frame pacing
|
||||
__GL_SYNC_TO_VBLANK = "0";
|
||||
__GL_MaxFramesAllowed = "1";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue