diff --git a/modules/gnome-config.nix b/modules/gnome-config.nix index 7a09383..48f6322 100644 --- a/modules/gnome-config.nix +++ b/modules/gnome-config.nix @@ -13,6 +13,13 @@ home-manager.users.yoda = { osConfig, config, pkgs, ... }: { dconf.settings = { + "org/gnome/settings-daemon/plugins/power" = { + # Settings > Automatic Suspend > Plugged In + sleep-inactive-ac-type = "nothing"; + # Settings > Automatic Suspend > On Battery Power + sleep-inactive-battery-type = "suspend"; + }; + "org/gnome/desktop/privacy" = { # Settings > File History > Enabled remember-recent-files = true;