From c403cd1c32fc5c1b4d126d35855f7368073a2a4e Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Sat, 5 Dec 2020 18:13:13 -0700 Subject: [PATCH] update: small fixes after version bump --- profiles/graphical/xmonad/default.nix | 2 +- profiles/laptop/default.nix | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/profiles/graphical/xmonad/default.nix b/profiles/graphical/xmonad/default.nix index 83acb8cd..bc0a5374 100644 --- a/profiles/graphical/xmonad/default.nix +++ b/profiles/graphical/xmonad/default.nix @@ -16,7 +16,7 @@ services.picom = { enable = true; - inactiveOpacity = "0.8"; + inactiveOpacity = 0.8; settings = { "unredir-if-possible" = true; "focus-exclude" = "name = 'slock'"; diff --git a/profiles/laptop/default.nix b/profiles/laptop/default.nix index 74721448..17e36877 100644 --- a/profiles/laptop/default.nix +++ b/profiles/laptop/default.nix @@ -38,11 +38,11 @@ # power management features services.tlp.enable = true; - services.tlp.extraConfig = '' - CPU_SCALING_GOVERNOR_ON_AC=performance - CPU_SCALING_GOVERNOR_ON_BAT=powersave - CPU_HWP_ON_AC=performance - ''; + services.tlp.settings = { + CPU_SCALING_GOVERNOR_ON_AC = "performance"; + CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; + CPU_HWP_ON_AC = "performance"; + }; services.logind.lidSwitch = "suspend"; nixpkgs.overlays =