ghostwriter on Wayland

This commit is contained in:
Daniel Langbein 2023-10-18 13:31:02 +02:00
parent 259a40e915
commit 383d387b39
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, lib, ... }:
{ {
users.users.yoda = { users.users.yoda = {
packages = with pkgs; [ 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-manager.users.yoda = { osConfig, config, pkgs, ... }: {
home.file.".config/kde.org/ghostwriter.conf" = { home.file.".config/kde.org/ghostwriter.conf" = {
text = '' text = ''