From 46f5c37c272a9256cb1bcde77baf9daec033e875 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 9 Nov 2024 05:41:44 +0300 Subject: [PATCH] Pocket: Enable tlp. --- host/x86_64-linux/pocket/default.nix | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/host/x86_64-linux/pocket/default.nix b/host/x86_64-linux/pocket/default.nix index cb17875..55d5a5a 100644 --- a/host/x86_64-linux/pocket/default.nix +++ b/host/x86_64-linux/pocket/default.nix @@ -1,4 +1,16 @@ { 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; user = { root.enable = true; @@ -38,14 +50,4 @@ gaming.enable = true; }; }; - - boot.kernelParams = [ - "fbcon=rotate:1" - "video=DSI-1:rotate=90" - ]; - - services.logind = { - powerKey = "ignore"; - lidSwitch = "ignore"; - }; }