nixos/console: move enable option out of let in

This commit is contained in:
Sandro Jäckel
2022-10-26 10:52:50 +02:00
committed by Sandro Jäckel
parent a832695c57
commit 5f03b6ddfc
2 changed files with 16 additions and 5 deletions

View File

@@ -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;