From d822980c1a01ec428c7a1247d550861a807474c4 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Mon, 1 Jan 2024 17:15:18 +0100 Subject: [PATCH] obsidian: sharp font on wayland --- modules/obsidian.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/obsidian.nix b/modules/obsidian.nix index 4e47858..e69bd47 100644 --- a/modules/obsidian.nix +++ b/modules/obsidian.nix @@ -6,6 +6,10 @@ # export LD_LIBRARY_PATH=$(nix --extra-experimental-features nix-command --extra-experimental-features flakes build --print-out-paths --no-link nixpkgs#libGL)/lib # obsidian + # TODO: Only if on wayland and display scaling != 1 + # To have sharp font, start obsidian with: + # obsidian --enable-features=UseOzonePlatform --ozone-platform=x11 + # This `config` is only for "stable" `nixpkgs`, not for "unstable". # See nur-and-unstable.nix # nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [