diff options
author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-26 17:21:07 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-11-09 23:47:37 +0100 |
commit | 5452a260774ac78d71232896aa69734ed1e9607a (patch) | |
tree | 9bc6a19edd5364c123a7ef3da72f661df57c8898 /nixos/modules/virtualisation | |
parent | f26896669bc5a92d879f7d34c9458e8c44635ab5 (diff) |
nixos/lvm: replace boot.isContainer with services.lvm.enable
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 a7f5044fb9cdb..b0df6f1a7c9f6 100644 --- a/nixos/modules/virtualisation/container-config.nix +++ b/nixos/modules/virtualisation/container-config.nix @@ -19,6 +19,9 @@ with lib; # containers do not need to setup devices services.udev.enable = false; + # containers normally do not need to manage logical volumes + services.lvm.enable = lib.mkDefault false; + # Shut up warnings about not having a boot loader. system.build.installBootLoader = lib.mkDefault "${pkgs.coreutils}/bin/true"; |