aboutsummaryrefslogtreecommitdiff
path: root/hosts/myrtle/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/myrtle/configuration.nix')
-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;