From bb37241a4c67e61100b217326f9d59b9649afcb3 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Sat, 21 Nov 2020 01:56:47 +0100 Subject: [PATCH] upgrade to NixOS 20.09 --- nixos/configuration.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.