Files
nixos/Droidnix/assets/flake/machines/traveldroid/session.nix
T
2026-03-16 07:43:31 +00:00

16 lines
624 B
Nix

{ config, pkgs, user, ... }:
{
environment.sessionVariables = {
XDG_SESSION_TYPE = "wayland"; # Session type
XDG_CURRENT_DESKTOP = "Hyprland"; # Desktop environment
XCURSOR_SIZE = "24"; # Cursor size
GTK_ENABLE_DARK_MODE=1;
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
GTK_APPLICATION_PREFER_DARK_THEME = "1";
# Add these for Firefox/Zen Browser:
MOZ_ENABLE_WAYLAND = "1"; # If on Wayland
GSETTINGS_SCHEMA_DIR = "${pkgs.gsettings-desktop-schemas}/share/glib-2.0/schemas";
};
# Add other session-wide variables here (e.g., QT_QPA_PLATFORM, SDL_VIDEODRIVER)
}