enoko-specific hidpi fixes

This commit is contained in:
insects 2024-08-14 10:49:50 +02:00
parent 36ca37c8cf
commit 63b254cc4d
2 changed files with 17 additions and 0 deletions

View file

@ -4,4 +4,20 @@
./global.nix ./global.nix
./desktop/hyprland ./desktop/hyprland
]; ];
config.monitors = [
{
name = "eDP-1";
width = 2256;
height = 1504;
workspace = "1";
primary = true;
position = "0x0";
}
];
# Fix HiDPI scaling
config.wayland.windowManager.hyprland = {
settings.xwayland.force_zero_scaling = true;
settings.env = "GDK_SCALE,2";
};
} }

View file

@ -56,6 +56,7 @@
layout = "us"; layout = "us";
xkbVariant = ""; xkbVariant = "";
}; };
services.fwupd.enable = true;
users.users = { users.users = {
lu = { lu = {