aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorAkshay <[email protected]>2023-01-22 12:06:13 +0000
committerAkshay <[email protected]>2023-01-22 12:06:13 +0000
commit1c25a32635a8c022cbd940d2520c356ec2b7e5f0 (patch)
tree078a9ab40e878d742dba8d415430ab8ff1658cdb /hosts
parent06df45dd7d3a76c302b25a99c2929f47d58f238c (diff)
handle keybinds
Diffstat (limited to 'hosts')
-rw-r--r--hosts/myrtle/configuration.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/hosts/myrtle/configuration.nix b/hosts/myrtle/configuration.nix
index 20855e2..7986e9c 100644
--- a/hosts/myrtle/configuration.nix
+++ b/hosts/myrtle/configuration.nix
@@ -88,7 +88,7 @@
88 pulseaudio = { 88 pulseaudio = {
89 enable = true; 89 enable = true;
90 package = pkgs.pulseaudioFull; 90 package = pkgs.pulseaudioFull;
91 extraConfig = "load-module module-bluetooth-policy auto_switch=2"; 91 # extraConfig = "load-module module-bluetooth-policy auto_switch=2";
92 }; 92 };
93 # opengl.enable = true; 93 # opengl.enable = true;
94 bluetooth = { 94 bluetooth = {
@@ -117,9 +117,14 @@
117 enable = true; 117 enable = true;
118 enableUserService = true; 118 enableUserService = true;
119 }; 119 };
120 services.supergfxd.enable = false; 120 services.supergfxd.enable = true;
121 121
122 powerManagement.powertop.enable = true; 122 services.logind.extraConfig = ''
123 HandlePowerKey=suspend-then-hibernate
124 HandlePowerKeyLongPress=poweroff
125 '';
126
127 powerManagement.powertop.enable = false;
123 128
124 users.users.np = { 129 users.users.np = {
125 isNormalUser = true; 130 isNormalUser = true;