diff options
author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-26 17:05:14 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-11-24 14:07:46 +0100 |
commit | f4d8e64bed05489cdb2af880644f1da4d0fe4eef (patch) | |
tree | 814fe65a73b2a577c148e8d2d4b92cd7e6048b81 /nixos/modules/virtualisation | |
parent | 7abad9f4b7020001257133cbf65bbcc4af0c3192 (diff) |
nixos/modprobe: replace boot.isContainer with boot.modprobeConfig.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 177e11f0696bd..2460ec45e3fca 100644 --- a/nixos/modules/virtualisation/container-config.nix +++ b/nixos/modules/virtualisation/container-config.nix @@ -8,7 +8,9 @@ with lib; # Disable some features that are not useful in a container. + # containers don't have a kernel boot.kernel.enable = false; + boot.modprobeConfig.enable = false; console.enable = mkDefault false; |