Khanda: enable XWayland scaling for Obsidian
This commit is contained in:
parent
a2abcdfa26
commit
f2f6bd0ff9
|
@ -1,6 +1,5 @@
|
||||||
# Enables the Gnome desktop environment.
|
# Enables the Gnome desktop environment.
|
||||||
{
|
{
|
||||||
inputs,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
|
lib,
|
||||||
options,
|
options,
|
||||||
namespace,
|
namespace,
|
||||||
...
|
...
|
||||||
|
@ -16,6 +17,15 @@ in
|
||||||
system.stateVersion = stateVersion;
|
system.stateVersion = stateVersion;
|
||||||
networking.hostName = hostName;
|
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 your system below this line. ***###
|
||||||
# Configure the system.
|
# Configure the system.
|
||||||
${namespace} = {
|
${namespace} = {
|
||||||
|
|
Loading…
Reference in a new issue