a couple improvements for battery and laptop keyboard

This commit is contained in:
Gabriel Fontes
2021-11-25 08:45:45 -03:00
parent 8cf29e4a77
commit 287da795fa
4 changed files with 10 additions and 6 deletions
+1
View File
@@ -58,6 +58,7 @@
postgresql.enable = true;
};
powerManagement.powertop.enable = true;
programs = {
light.enable = true;
+1
View File
@@ -62,5 +62,6 @@
options = [ "subvol=nix" "noatime" "compress=zstd" ];
};
};
powerManagement.cpuFreqGovernor = "powersave";
}
@@ -5,8 +5,10 @@ let
# SSH Hosts
sshHosts = [
"merope.local"
"atlas.local"
"maia.local"
"merope.local"
"pleione.local"
"ubuntu@vpn.uget.express"
];
@@ -272,6 +274,9 @@ in rec {
{
xkb_layout = "br";
};
"1:1:AT_Translated_Set_2_keyboard" = {
xkb_layout = "br";
};
"6940:7051:ckb2:_CORSAIR_SCIMITAR_RGB_ELITE_Gaming_Mouse_vM" = {
pointer_accel = "1";
};
@@ -57,12 +57,9 @@ in {
battery = {
bat = "BAT0";
interval = 40;
format-icons = ["" "" "" "" ""];
states = {
warning = 30;
critical = 16;
};
format-icons = ["" "" "" "" "" "" "" "" "" ""];
format = "{capacity}% {icon}";
format-charging = "{capacity}% ";
};
"sway/window" = { max-length = 50; };
"sway/workspaces" = {