reNixos/ada/environment/variables.nix
s0me1newithhand7s e9a8b86a20 feat(ada): proton wayland env setting
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
2026-05-29 00:12:22 +03:00

22 lines
516 B
Nix

{
config,
lib,
...
}: {
environment = {
variables = {
PROTON_ENABLE_WAYLAND = 1;
HOSTNAME = config.networking.hostName;
QT_QPA_PLATFORMTHEME = lib.mkForce "xdgdesktopportal";
TDESKTOP_USE_GTK_FILE_DIALOG = 1;
SDL_VIDEODRIVER = "wayland";
CLUTTER_BACKEND = "wayland";
GDK_BACKEND = "wayland";
NIXPKGS_ALLOW_UNFREE = 1;
NIXPKGS_ALLOW_INSECURE = 1;
NIXOS_OZONE_WL = 1;
GRIMBLAST_HIDE_CURSOR = 1;
TERM = "xterm-256color";
};
};
}