ajout de politique d'énergie pour laptop

This commit is contained in:
Yves Dubromelle
2016-07-15 11:59:39 +02:00
parent aa48575f58
commit f6b939ffa9
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{ config, pkgs, ... }:
{
# Gestion spécifique pour PC portable
powerManagement.cpuFreqGovernor = pkgs.lib.mkIf config.r6d.config-generator.laptop "powersave";
}

View File

@@ -12,6 +12,7 @@ in
{
imports = [
./activation-manuelle/auto-upgrade.nix
./activation-manuelle/laptop.nix
./activation-manuelle/locate.nix
./activation-manuelle/fail2ban.nix
./activation-manuelle/nix-serve-client.nix