nixpkgs-suyu/nixos/modules/tasks/lvm.nix

18 lines
216 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
###### implementation
config = mkIf (!config.boot.isContainer) {
environment.systemPackages = [ pkgs.lvm2 ];
services.udev.packages = [ pkgs.lvm2 ];
};
}