From 03b75a9b8a83591d33fd3b44f07a753168a2523b Mon Sep 17 00:00:00 2001 From: clerie Date: Mon, 11 Mar 2024 20:28:28 +0100 Subject: [PATCH] configuration/desktop: gdm settings --- configuration/desktop/inputs.nix | 13 +++++++++++++ configuration/desktop/power.nix | 11 +++++++++++ 2 files changed, 24 insertions(+) diff --git a/configuration/desktop/inputs.nix b/configuration/desktop/inputs.nix index e6419a1..4207c16 100644 --- a/configuration/desktop/inputs.nix +++ b/configuration/desktop/inputs.nix @@ -25,5 +25,18 @@ }; } ]; + gdm.databases = [ + { + settings = { + "org/gnome/desktop/peripherals/touchpad" = { + disable-while-typing = false; + edge-scrolling-enabled = false; + natural-scroll = true; + tap-to-click = true; + two-finger-scrolling-enabled = true; + }; + }; + } + ]; }; } diff --git a/configuration/desktop/power.nix b/configuration/desktop/power.nix index f5429d1..41f8355 100644 --- a/configuration/desktop/power.nix +++ b/configuration/desktop/power.nix @@ -21,5 +21,16 @@ }; } ]; + gdm.databases = [ + { + settings = { + "org/gnome/settings-daemon/plugins/power" = { + power-button-action = "nothing"; + power-saver-profile-on-low-battery = false; + sleep-inactive-ac-type = "nothing"; + }; + }; + } + ]; }; }