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:
Gabriella Bere 2024-08-24 17:20:32 +01:00
parent 2d59425a38
commit f8131b05fc
2 changed files with 4 additions and 2 deletions

View file

@ -21,6 +21,10 @@
home.sessionVariables = {
EDITOR = "nano";
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.

View file

@ -24,8 +24,6 @@
xwayland {
force_zero_scaling = true
}
env = GDK_SCALE,1
env = XCURSOR_SIZE,32
'';
};
# Hyprland configuration