From 8b48c54f48f3edd3c588b19a1a15c5d12b1de6c2 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Thu, 2 Jan 2025 17:56:33 +0100 Subject: [PATCH] enable fractional scaling for gnome --- modules/gnome.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/gnome.nix b/modules/gnome.nix index c1d67c6..4b0d1ff 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -4,7 +4,14 @@ services = { xserver = { # Enable the GNOME Desktop Environment. - desktopManager.gnome.enable = true; + desktopManager.gnome = { + enable = true; + extraGSettingsOverridePackages = [ pkgs.mutter ]; + extraGSettingsOverrides = '' + [org.gnome.mutter] + experimental-features=['scale-monitor-framebuffer'] + ''; + }; displayManager.gdm.enable = true; excludePackages = with pkgs; [ xterm ]; };