Wayland : Add extra compat variables thanks to Fox.
This commit is contained in:
parent
62577482a3
commit
bb7550d338
|
@ -16,14 +16,18 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
||||||
environment.systemPackages = with pkgs; [
|
environment = {
|
||||||
grim slurp # Screenshot.
|
systemPackages = with pkgs; [
|
||||||
mako # Notification system.
|
grim slurp # Screenshot.
|
||||||
networkmanagerapplet # Internet configuration.
|
mako # Notification system.
|
||||||
pamixer pavucontrol pulseaudio # Audio.
|
networkmanagerapplet # Internet configuration.
|
||||||
playerctl # Multimedia controls.
|
pamixer pavucontrol pulseaudio # Audio.
|
||||||
script
|
playerctl # Multimedia controls.
|
||||||
];
|
script # My custom Sway shell scripts.
|
||||||
|
];
|
||||||
|
|
||||||
|
variables.XDG_CURRENT_DESKTOP = "sway";
|
||||||
|
};
|
||||||
|
|
||||||
programs.sway = {
|
programs.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -62,6 +62,9 @@ in {
|
||||||
|
|
||||||
# Proton.
|
# Proton.
|
||||||
WINEFSYNC = "1";
|
WINEFSYNC = "1";
|
||||||
|
|
||||||
|
# GTK apps compat.
|
||||||
|
GTK_CSD = 0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,20 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment = {
|
||||||
wl-clipboard
|
systemPackages = with pkgs; [
|
||||||
];
|
wl-clipboard # CLI clipboard support.
|
||||||
|
];
|
||||||
|
|
||||||
|
variables = {
|
||||||
|
# Compatibility variables.
|
||||||
|
ECORE_EVAS_ENGINE = "wayland_egl";
|
||||||
|
ELM_ENGINE = "wayland_egl";
|
||||||
|
GDK_BACKEND = "wayland";
|
||||||
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
|
QT_QPA_PLATFORM = "wayland-egl";
|
||||||
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
|
SAL_USE_VCLPLUGIN = "gtk3";
|
||||||
|
SDL_VIDEODRIVER = "wayland";
|
||||||
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,10 +9,7 @@
|
||||||
mkBookmark = name: url: { inherit name url; };
|
mkBookmark = name: url: { inherit name url; };
|
||||||
in {
|
in {
|
||||||
# Disable profile switching on rebuild.
|
# Disable profile switching on rebuild.
|
||||||
environment.variables = {
|
environment.variables.MOZ_LEGACY_PROFILES = "1";
|
||||||
MOZ_LEGACY_PROFILES = "1";
|
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue