3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/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 ];
};
}