tlp: set acpi power profile
This commit is contained in:
parent
3d8a720411
commit
647eb82d64
@ -34,6 +34,14 @@ in {
|
||||
udev.packages = [pkgs.yubikey-personalization];
|
||||
acpid.enable = true;
|
||||
pcscd.enable = true;
|
||||
gnome.gnome-keyring.enable = true;
|
||||
openssh.settings.X11Forwarding = true;
|
||||
|
||||
logind = {
|
||||
powerKey = "suspend";
|
||||
powerKeyLongPress = "poweroff";
|
||||
};
|
||||
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [
|
||||
@ -43,19 +51,12 @@ in {
|
||||
];
|
||||
};
|
||||
|
||||
autorandr.enable = true;
|
||||
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
openssh.settings.X11Forwarding = true;
|
||||
|
||||
logind.powerKey = "suspend";
|
||||
logind.powerKeyLongPress = "poweroff";
|
||||
|
||||
xserver = {
|
||||
enable = true;
|
||||
layout = "us,lt";
|
||||
@ -81,7 +82,13 @@ in {
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
gnome.gnome-keyring.enable = true;
|
||||
tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PLATFORM_PROFILE_ON_AC = "performance";
|
||||
PLATFORM_PROFILE_ON_BAT = "balanced";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
Loading…
Reference in New Issue
Block a user