Pocket: Enable tlp.

This commit is contained in:
Dmitry Voronin 2024-11-09 05:41:44 +03:00
parent a9b75140e8
commit 46f5c37c27
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -1,4 +1,16 @@
{ lib, ... }: { { lib, ... }: {
boot.kernelParams = [
"fbcon=rotate:1"
"video=DSI-1:rotate=90"
];
services.logind = {
powerKey = "ignore";
lidSwitch = "ignore";
};
services.tlp.enable = true;
home.nixos.enable = true; home.nixos.enable = true;
user = { user = {
root.enable = true; root.enable = true;
@ -38,14 +50,4 @@
gaming.enable = true; gaming.enable = true;
}; };
}; };
boot.kernelParams = [
"fbcon=rotate:1"
"video=DSI-1:rotate=90"
];
services.logind = {
powerKey = "ignore";
lidSwitch = "ignore";
};
} }