diff options
author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-26 10:52:50 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-11-12 23:40:20 +0100 |
commit | 5f03b6ddfc27a5cb3b5e851a25db3cf1590f6fc0 (patch) | |
tree | e1700e6cef19c9d01f6d3490cf22cb06e836db80 /nixos/modules/virtualisation | |
parent | a832695c57f971113cb0b93e1b0022046268b0fe (diff) |
nixos/console: move enable option out of let in
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/container-config.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/container-config.nix b/nixos/modules/virtualisation/container-config.nix index c2e61a77c01ee..09a2d9de040a2 100644 --- a/nixos/modules/virtualisation/container-config.nix +++ b/nixos/modules/virtualisation/container-config.nix @@ -7,8 +7,11 @@ with lib; config = mkIf config.boot.isContainer { # Disable some features that are not useful in a container. + boot.kernel.enable = false; + console.enable = mkDefault false; + nix.optimise.automatic = mkDefault false; # the store is host managed powerManagement.enable = mkDefault false; documentation.nixos.enable = mkDefault false; |