From 9e894b1a7f83d118d7bf6b31ee0628483dc02a4b Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sun, 22 Nov 2020 10:12:39 -0500 Subject: [PATCH] add gnome power options --- modules/gnome/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/gnome/default.nix b/modules/gnome/default.nix index 6954541..bca9e56 100644 --- a/modules/gnome/default.nix +++ b/modules/gnome/default.nix @@ -48,6 +48,8 @@ gsettings set org.gnome.desktop.wm.keybindings toggle-fullscreen "['f']" gsettings set org.gnome.desktop.wm.preferences resize-with-right-button true gsettings set org.gnome.settings-daemon.plugins.media-keys logout '[]' + gsettings set org.gnome.settings-daemon.plugins.power power-button-action 'interactive' + gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing' echo 'window.ssd headerbar.titlebar { padding-top: 2px; padding-bottom: 2px; }' > ~/.config/gtk-3.0/gtk.css '';