diff options
author | Felix Singer <felixsinger@posteo.net> | 2024-08-09 13:32:16 +0000 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2024-08-14 15:33:38 +0000 |
commit | a8b1260c7f731d06e28d19f581e70f8e891a781d (patch) | |
tree | 8bd24aec2acda551f6fc3bdde493f7b3c265ba1a /util/liveiso | |
parent | 9419820127398073ab9717057a796cc825eb0eff (diff) |
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>
Diffstat (limited to 'util/liveiso')
-rw-r--r-- | util/liveiso/nixos/graphical.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/util/liveiso/nixos/graphical.nix b/util/liveiso/nixos/graphical.nix index b4188f4aaf..77df3cbc13 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 = { |