home: hyprland: add environment variables
This commit is contained in:
parent
bc7ac2df55
commit
7b80466106
1 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
#inputs,
|
#inputs,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -13,6 +14,12 @@
|
||||||
../waybar
|
../waybar
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
QT_IM_MODULE = lib.mkForce "wayland"; # use text-input-v2
|
||||||
|
GTK_IM_MODULE = lib.mkForce "wayland"; # use text-input-v3
|
||||||
|
NIXOS_OZONE_WL = "1"; # let electron applications use wayland
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableNvidiaPatches = true;
|
enableNvidiaPatches = true;
|
||||||
|
|
Loading…
Reference in a new issue