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 =