From 36bedc698c07fedb0d5115e58ddf089b667ce857 Mon Sep 17 00:00:00 2001 From: Kate Adkins Date: Sat, 16 Nov 2024 21:37:13 -0700 Subject: [PATCH] aigis: add power saving --- flake.nix | 6 +++++- nixos/configs/power-saving.nix | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index beb693a..bce7040 100644 --- a/flake.nix +++ b/flake.nix @@ -371,7 +371,11 @@ system = "aarch64-linux"; 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). diff --git a/nixos/configs/power-saving.nix b/nixos/configs/power-saving.nix index 52b8812..fb1227b 100644 --- a/nixos/configs/power-saving.nix +++ b/nixos/configs/power-saving.nix @@ -6,7 +6,7 @@ { config, pkgs, ... }: { # Keep our thermals nice and happy. - services.thermald.enable = true; + services.thermald.enable = !pkgs.stdenv.isAarch64; # Set up a power saving policy manager. services.tlp = {