nixos/kernel: replace boot.isContainer with boot.kernel.enable
This commit is contained in:
committed by
Sandro Jäckel
parent
8191089900
commit
182575a60d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user