diff --git a/base.nix b/base.nix index 550ea00..a797e24 100644 --- a/base.nix +++ b/base.nix @@ -67,7 +67,10 @@ nix.settings.min-free = 3 * 1024 * 1024 * 1024; nix.settings.max-free = 20 * 1024 * 1024 * 1024; - services.thermald.enable = lib.mkIf (config.nixpkgs.system == "x86_64-linux") true; + services.thermald.enable = lib.mkIf (lib.all (x: x) [ + (config.nixpkgs.system == "x86_64-linux") + (!config.boot.isContainer or false) + ]) true; # System fonts # Nice to have when X-forwading on headless machines