proper repo

This commit is contained in:
Zoty 2026-05-22 15:51:43 -03:00
parent 33d01daa3d
commit 8a35a32445
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
17 changed files with 338 additions and 109 deletions

20
modules/wayland.nix Normal file
View 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";
};
};
}