move environment variables to desktop module
This commit is contained in:
parent
a1fcb93507
commit
eaf24b080a
@ -74,21 +74,7 @@
|
|||||||
TERMINAL = "alacritty";
|
TERMINAL = "alacritty";
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
VISUAL = "nvim";
|
VISUAL = "nvim";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
|
||||||
MOZ_WEBRENDER = "1";
|
|
||||||
MOZ_USE_XINPUT2 = "2";
|
|
||||||
MOZ_DBUS_REMOTE = "1";
|
|
||||||
GDK_BACKEND = "wayland";
|
|
||||||
LIBVA_DRIVER_NAME = "iHD";
|
|
||||||
VDPAU_DRIVER = "iHD";
|
|
||||||
XDG_SESSION_TYPE = "wayland";
|
|
||||||
XDG_CURRENT_DESKTOP = "sway";
|
|
||||||
QT_QPA_PLATFORMTHEME = "qt5ct";
|
|
||||||
GST_VAAPI_ALL_DRIVERS = "1";
|
|
||||||
BROWSER = "firefox";
|
BROWSER = "firefox";
|
||||||
GTK_THEME = "Arc";
|
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
|
||||||
|
|
||||||
};
|
};
|
||||||
systemPackages = with pkgs; [ # Default packages install system-wide
|
systemPackages = with pkgs; [ # Default packages install system-wide
|
||||||
vim
|
vim
|
||||||
|
@ -33,6 +33,19 @@
|
|||||||
fi
|
fi
|
||||||
''; # Will automatically open sway when logged into tty1
|
''; # Will automatically open sway when logged into tty1
|
||||||
variables = {
|
variables = {
|
||||||
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
|
MOZ_WEBRENDER = "1";
|
||||||
|
MOZ_USE_XINPUT2 = "2";
|
||||||
|
MOZ_DBUS_REMOTE = "1";
|
||||||
|
GDK_BACKEND = "wayland";
|
||||||
|
LIBVA_DRIVER_NAME = "iHD";
|
||||||
|
VDPAU_DRIVER = "iHD";
|
||||||
|
XDG_SESSION_TYPE = "wayland";
|
||||||
|
XDG_CURRENT_DESKTOP = "sway";
|
||||||
|
QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||||
|
GST_VAAPI_ALL_DRIVERS = "1";
|
||||||
|
GTK_THEME = "Arc";
|
||||||
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
#LIBCL_ALWAYS_SOFTWARE = "1"; # For applications in VM like alacritty to work
|
#LIBCL_ALWAYS_SOFTWARE = "1"; # For applications in VM like alacritty to work
|
||||||
#WLR_NO_HARDWARE_CURSORS = "1"; # For cursor in VM
|
#WLR_NO_HARDWARE_CURSORS = "1"; # For cursor in VM
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user