mail accout improvements

This commit is contained in:
Rouven Seifert 2023-03-06 15:05:35 +01:00
parent a5164282fa
commit 223b570ba6
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
4 changed files with 55 additions and 39 deletions

View file

@ -113,14 +113,21 @@
user = "libvirtd";
};
};
services.logind = {
lidSwitch = "suspend-then-hibernate";
lidSwitchDocked = "suspend-then-hibernate";
lidSwitchExternalPower = "suspend";
extraConfig = ''
HandlePowerKey = ignore
'';
lidSwitch = "suspend-then-hibernate";
lidSwitchDocked = "suspend-then-hibernate";
lidSwitchExternalPower = "suspend";
extraConfig = ''
HandlePowerKey = ignore
'';
};
services.tlp = {
enable = true;
settings = {
START_CHARGE_THRESH_BAT0 = 70;
STOP_CHARGE_THRESH_BAT0 = 85;
};
};
environment.systemPackages = with pkgs; [