1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-07-05 19:03:28 +02:00
nixos-hardware/common/pc/laptop/default.nix

11 lines
323 B
Nix
Raw Normal View History

{ config, lib, ... }:
{
imports = [ ../. ];
# Gnome 40 introduced a new way of managing power, without tlp.
# However, these 2 services clash when enabled simultaneously.
# https://github.com/NixOS/nixos-hardware/issues/260
2021-05-29 10:19:00 +02:00
services.tlp.enable = lib.mkDefault (!config.services.power-profiles-daemon.enable);
}