diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-11-12 21:12:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-12 21:12:56 +0100 |
commit | 9477fa1e44c16804b8c1743d25264f9e3b26c219 (patch) | |
tree | b856b85794f9da36a5d70370c8c879894c583587 /nixos/modules/virtualisation | |
parent | 192d73761f6739149ce6f9e74a7e78e1e96d2dc5 (diff) | |
parent | 182575a60d7e897b62a837fdd8047ae4fe44b4c6 (diff) |
Merge pull request #197917 from SuperSandro2000/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 a7f5044fb9cdb..c2e61a77c01ee 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; |