move environment variables from hyprland.conf into home.nix to keep them all together, added comment explaining what they do
This commit is contained in:
parent
2d59425a38
commit
f8131b05fc
2 changed files with 4 additions and 2 deletions
|
@ -21,6 +21,10 @@
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nano";
|
EDITOR = "nano";
|
||||||
DEFAULT_BROWSER = "${lib.getExe pkgs.firefox}";
|
DEFAULT_BROWSER = "${lib.getExe pkgs.firefox}";
|
||||||
|
# Allow XWayland apps to not be weird after turning off xwayland scaling in hyprland.conf
|
||||||
|
GDK_SCALE = 1;
|
||||||
|
XCURSOR_SIZE = 32;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
|
|
|
@ -24,8 +24,6 @@
|
||||||
xwayland {
|
xwayland {
|
||||||
force_zero_scaling = true
|
force_zero_scaling = true
|
||||||
}
|
}
|
||||||
env = GDK_SCALE,1
|
|
||||||
env = XCURSOR_SIZE,32
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
# Hyprland configuration
|
# Hyprland configuration
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue