no thermald on containers
This commit is contained in:
parent
d17d8e4f7e
commit
1b97ccf6be
5
base.nix
5
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
|
||||
|
|
Loading…
Reference in New Issue