Khanda: enable XWayland scaling for Obsidian
This commit is contained in:
parent
a2abcdfa26
commit
f2f6bd0ff9
|
@ -1,6 +1,5 @@
|
|||
# Enables the Gnome desktop environment.
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
options,
|
||||
namespace,
|
||||
...
|
||||
|
@ -16,6 +17,15 @@ in
|
|||
system.stateVersion = stateVersion;
|
||||
networking.hostName = hostName;
|
||||
|
||||
# Enable XWayland native scaling just for Khanda.
|
||||
# This is a workaround to get the Surface Pen working in Obsidian
|
||||
services.xserver.desktopManager.gnome.extraGSettingsOverrides = lib.mkForce ''
|
||||
[org.gnome.mutter]
|
||||
experimental-features = [ 'scale-monitor-framebuffer', 'xwayland-native-scaling', 'variable-refresh-rate' ]
|
||||
[org.gnome.shell]
|
||||
disable-extension-version-validation = true
|
||||
'';
|
||||
|
||||
###*** Configure your system below this line. ***###
|
||||
# Configure the system.
|
||||
${namespace} = {
|
||||
|
|
Loading…
Reference in a new issue