diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 60a38a9..78cb27b 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -44,10 +44,10 @@ in services.tlp = { enable = true; - extraConfig = '' - SATA_LINKPWR_ON_BAT=medium_power - SATA_LINKPWR_ON_AC=max_performance - ''; + settings = { + "SATA_LINKPWR_ON_BAT" = "medium_power"; + "SATA_LINKPWR_ON_AC" = "max_performance"; + }; }; # Use the systemd-boot EFI boot loader.