snowflake/home/wayland/default.nix

43 lines
928 B
Nix
Raw Normal View History

{pkgs, ...}: {
2025-02-08 23:06:45 -05:00
imports = [./services/ly.nix];
environment = {
systemPackages = with pkgs; [
wayland
glib
grim
slurp
satty
wl-clipboard
];
sessionVariables = {
__GL_GSYNC_ALLOWED = "0";
__GL_VRR_ALLOWED = "0";
WLR_DRM_NO_ATOMIC = "1";
XDG_SESSION_TYPE = "wayland";
_JAVA_AWT_WM_NONREPARENTING = "1";
QT_QPA_PLATFORM = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
GDK_BACKEND = "wayland";
MOZ_ENABLE_WAYLAND = "1";
XCURSOR_SIZE = "24";
NIXOS_OZONE_WL = "1";
2024-12-24 00:53:22 -05:00
EDITOR = "hx";
TERMINAL = "wezterm";
2024-12-24 00:53:22 -05:00
# SDL_VIDEODRIVER = "wayland";
};
};
2023-02-01 13:32:32 -05:00
services.dbus.enable = true;
xdg.portal = {
enable = true;
2025-02-08 23:06:45 -05:00
xdgOpenUsePortal = true;
extraPortals = with pkgs; [
2025-02-08 23:06:45 -05:00
xdg-desktop-portal
xdg-desktop-portal-gtk
];
2023-11-26 02:10:02 -05:00
config = {
common.default = "*";
};
2023-04-23 17:45:37 -04:00
};
}