mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-09-24 07:15:07 -05:00
a couple improvements for battery and laptop keyboard
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
postgresql.enable = true;
|
||||
};
|
||||
|
||||
powerManagement.powertop.enable = true;
|
||||
programs = {
|
||||
light.enable = true;
|
||||
|
||||
|
||||
@@ -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" = {
|
||||
|
||||
Reference in New Issue
Block a user