nixos/kernel: replace boot.isContainer with boot.kernel.enable

This commit is contained in:
Sandro Jäckel
2022-10-26 16:51:29 +02:00
committed by Sandro Jäckel
parent 8191089900
commit 182575a60d
3 changed files with 7 additions and 2 deletions

View File

@@ -7,6 +7,8 @@ with lib;
config = mkIf config.boot.isContainer {
# Disable some features that are not useful in a container.
boot.kernel.enable = false;
nix.optimise.automatic = mkDefault false; # the store is host managed
powerManagement.enable = mkDefault false;
documentation.nixos.enable = mkDefault false;