aigis: add power saving
This commit is contained in:
parent
e70ce4df5d
commit
36bedc698c
2 changed files with 6 additions and 2 deletions
|
@ -371,7 +371,11 @@
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
specialArgs = mkSpecialArgs system;
|
specialArgs = mkSpecialArgs system;
|
||||||
|
|
||||||
modules = linuxGuiModules [ ./nixos/hosts/aigis.nix ];
|
modules = linuxGuiModules [
|
||||||
|
./nixos/hosts/aigis.nix
|
||||||
|
|
||||||
|
./nixos/configs/power-saving.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Nomon (TMLLC aarch64-linux, broadcom-silicon, test machine).
|
# Nomon (TMLLC aarch64-linux, broadcom-silicon, test machine).
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
# Keep our thermals nice and happy.
|
# Keep our thermals nice and happy.
|
||||||
services.thermald.enable = true;
|
services.thermald.enable = !pkgs.stdenv.isAarch64;
|
||||||
|
|
||||||
# Set up a power saving policy manager.
|
# Set up a power saving policy manager.
|
||||||
services.tlp = {
|
services.tlp = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue