Laptop: Difference between revisions

changed tlp to TLP
m changed style of configuration.nix text
Line 7: Line 7:


==== TLP ====
==== TLP ====
A common tool used to save power on laptops is TLP, which has sensible defaults for most laptops. To enable TLP you simply just write <code>services.tlp.enable = true;</code> in your configuration.nix. However, if you need a specific configuration, you can do as shown in the example below.
A common tool used to save power on laptops is TLP, which has sensible defaults for most laptops. To enable TLP you simply just write <code>services.tlp.enable = true;</code> in your <code>configuration.nix</code>. However, if you need a specific configuration, you can do as shown in the example below.


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>