diff options
author | Richard Marko <srk@48.io> | 2021-02-24 14:00:06 +0100 |
---|---|---|
committer | Richard Marko <srk@48.io> | 2021-03-04 12:03:03 +0100 |
commit | fc2fa3cda56d61d5d81b9a0d2b478aa76d5d7101 (patch) | |
tree | 3384f8b2c5c1774c011ae0f1f27d54c56526b5ad /nixos/modules/virtualisation/nixos-containers.nix | |
parent | c4c5bf8b7ce7d2adb14022829816ad786a1d987c (diff) | |
download | nixpkgs-fc2fa3cda56d61d5d81b9a0d2b478aa76d5d7101.tar nixpkgs-fc2fa3cda56d61d5d81b9a0d2b478aa76d5d7101.tar.gz nixpkgs-fc2fa3cda56d61d5d81b9a0d2b478aa76d5d7101.tar.bz2 nixpkgs-fc2fa3cda56d61d5d81b9a0d2b478aa76d5d7101.tar.lz nixpkgs-fc2fa3cda56d61d5d81b9a0d2b478aa76d5d7101.tar.xz nixpkgs-fc2fa3cda56d61d5d81b9a0d2b478aa76d5d7101.tar.zst nixpkgs-fc2fa3cda56d61d5d81b9a0d2b478aa76d5d7101.zip |
nixos/nixos-containers: default boot.enableContainers to true
Related to #85746 which addresses documentation issue, digging deeper for a reason why this was disabled was simply because it wasn't working which is not the case anymore.
Diffstat (limited to 'nixos/modules/virtualisation/nixos-containers.nix')
-rw-r--r-- | nixos/modules/virtualisation/nixos-containers.nix | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/nixos/modules/virtualisation/nixos-containers.nix b/nixos/modules/virtualisation/nixos-containers.nix index 3754fe6dac6..c1ff1bb5d47 100644 --- a/nixos/modules/virtualisation/nixos-containers.nix +++ b/nixos/modules/virtualisation/nixos-containers.nix @@ -439,21 +439,16 @@ in default = false; description = '' Whether this NixOS machine is a lightweight container running - in another NixOS system. If set to true, support for nested - containers is disabled by default, but can be reenabled by - setting <option>boot.enableContainers</option> to true. + in another NixOS system. ''; }; boot.enableContainers = mkOption { type = types.bool; - default = !config.boot.isContainer; + default = true; description = '' Whether to enable support for NixOS containers. Defaults to true - (at no cost if containers are not actually used), but only if the - system is not itself a lightweight container of a host. - To enable support for nested containers, this option has to be - explicitly set to true (in the outer container). + (at no cost if containers are not actually used). ''; }; |