diff --git a/modules/ghostwriter.nix b/modules/ghostwriter.nix index 6e76c01..b18a37f 100644 --- a/modules/ghostwriter.nix +++ b/modules/ghostwriter.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { users.users.yoda = { packages = with pkgs; [ @@ -6,6 +6,9 @@ ]; }; + # This fixes blurry fonts with fractional scaling on Wayland. + environment.sessionVariables.QT_QPA_PLATFORM = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) "wayland"; + home-manager.users.yoda = { osConfig, config, pkgs, ... }: { home.file.".config/kde.org/ghostwriter.conf" = { text = ''