Felix Singer has uploaded this change for review. ( 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.
Change-Id: I9a6e3eb88427f94f504a6b991a98b1b51e11bc19 Signed-off-by: Felix Singer felixsinger@posteo.net --- M util/liveiso/nixos/graphical.nix 1 file changed, 20 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/83853/1
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 = {