Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/83853?usp=email )
Change subject: util/liveiso/nixos/graphical: Preconfigure some Gnome settings ......................................................................
util/liveiso/nixos/graphical: Preconfigure some Gnome settings
These settings are not a must, but nice to have. The most noteworthy setting is `sleep-inactive-ac-type`, which is set to `nothing` so that the target doesn't go into suspend when AC is used as power supply and it's unused for a while.
Change-Id: I9a6e3eb88427f94f504a6b991a98b1b51e11bc19 Signed-off-by: Felix Singer felixsinger@posteo.net Reviewed-on: https://review.coreboot.org/c/coreboot/+/83853 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Matt DeVillier matt.devillier@gmail.com Reviewed-by: Jan Philipp Groß jeangrande@mailbox.org --- M util/liveiso/nixos/graphical.nix 1 file changed, 20 insertions(+), 0 deletions(-)
Approvals: Matt DeVillier: Looks good to me, approved build bot (Jenkins): Verified Jan Philipp Groß: Looks good to me, but someone else must approve
diff --git a/util/liveiso/nixos/graphical.nix b/util/liveiso/nixos/graphical.nix index b4188f4..77df3cb 100644 --- a/util/liveiso/nixos/graphical.nix +++ b/util/liveiso/nixos/graphical.nix @@ -18,6 +18,26 @@ ''; };
+ programs.dconf = { + enable = true; + profiles = { + user.databases = [{ + settings = { + "org/gnome/settings-daemon/plugins/power" = { + sleep-inactive-ac-type = "nothing"; + }; + "org/gnome/desktop/interface" = { + show-battery-percentage = true; + clock-show-weekday = true; + }; + "org/gnome/desktop/calendar" = { + show-weekdate = true; + }; + }; + }]; + }; + }; + services.xserver = { enable = true; displayManager = {