mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
e8eea659a0
It's a somewhat pointless dependency.
18 lines
216 B
Nix
18 lines
216 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
###### implementation
|
|
|
|
config = mkIf (!config.boot.isContainer) {
|
|
|
|
environment.systemPackages = [ pkgs.lvm2 ];
|
|
|
|
services.udev.packages = [ pkgs.lvm2 ];
|
|
|
|
};
|
|
|
|
}
|