mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2024-12-04 19:40:07 +01:00
8 lines
215 B
Nix
8 lines
215 B
Nix
{ config, lib, ... }:
|
|
{
|
|
# Let's not thermal throttle
|
|
services.thermald.enable = lib.mkIf (lib.all (x: x) [
|
|
(config.nixpkgs.system == "x86_64-linux")
|
|
(!config.boot.isContainer or false)
|
|
]) true;
|
|
} |