mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +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 ];
|
|
|
|
};
|
|
|
|
}
|