diff options
author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-26 16:51:29 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-11-09 23:45:33 +0100 |
commit | 182575a60d7e897b62a837fdd8047ae4fe44b4c6 (patch) | |
tree | b94f1e2623e17a3193aa638776ad7afdfdc829b5 /nixos/modules/virtualisation | |
parent | 8191089900837e16cf53348a5c66d45306986474 (diff) |
nixos/kernel: replace boot.isContainer with boot.kernel.enable
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/container-config.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/container-config.nix b/nixos/modules/virtualisation/container-config.nix index 94f28ea80d094..4f1775703ce94 100644 --- a/nixos/modules/virtualisation/container-config.nix +++ b/nixos/modules/virtualisation/container-config.nix @@ -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; |