Chore/nixfiles review fixes #14
+12
-13
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
options,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@@ -18,18 +17,18 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
extraSessionCommands = ''
|
extraSessionCommands = ''
|
||||||
# QT
|
# QT
|
||||||
export QT_QPA_PLATFORM="wayland;xcb"
|
export QT_QPA_PLATFORM="wayland;xcb"
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
# SDL
|
# SDL
|
||||||
export SDL_VIDEODRIVER=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
# Java
|
# Java
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
# Misc
|
# Misc
|
||||||
export CLUTTER_BACKEND=wayland
|
export CLUTTER_BACKEND=wayland
|
||||||
export WINIT_UNIX_BACKEND=x11
|
export WINIT_UNIX_BACKEND=wayland
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
'';
|
'';
|
||||||
# Core Wayland utilities. The lock screen, idle daemon, status bar and
|
# Core Wayland utilities. The lock screen, idle daemon, status bar and
|
||||||
# notification daemon are configured per-user in home/sway.nix.
|
# notification daemon are configured per-user in home/sway.nix.
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
|
|||||||
Reference in New Issue
Block a user