From 12accb0619afcbb74189ca90c5aa39d34a01193f Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 21 Jul 2024 13:11:55 -0400 Subject: [PATCH] phone(dconf): Limit idle delay to 1 minute Might help with the phone turning on while pocketed. --- hosts/phone/configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/phone/configuration.nix b/hosts/phone/configuration.nix index f12f10ed..5af4e804 100644 --- a/hosts/phone/configuration.nix +++ b/hosts/phone/configuration.nix @@ -2,7 +2,7 @@ let inherit (lib) mkIf mkForce; - inherit (lib.gvariant) mkTuple; + inherit (lib.gvariant) mkTuple mkUint32; inherit (config.modules.system) username; inherit (builtins) attrValues; @@ -61,6 +61,10 @@ in show-battery-percentage = true; }; + "org/gnome/desktop/session" = { + idle-delay = mkUint32 60; + }; + "org/gnome/desktop/input-sources" = { sources = [ (mkTuple [ "xkb" "us" ])