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