diff options
-rw-r--r-- | modules/system/raid0.nix | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/modules/system/raid0.nix b/modules/system/raid0.nix index d260e29..ed946d2 100644 --- a/modules/system/raid0.nix +++ b/modules/system/raid0.nix @@ -1,10 +1,20 @@ { config, pkgs, lib, ... }: -with lib; -with lib.types; -with builtins; - let + + inherit (builtins) + attrNames + ; + + inherit (lib) + concatStringsSep filterAttrs foldl genAttrs mapAttrs' mapAttrsToList + mkOption nameValuePair removePrefix replaceStrings + ; + + inherit (lib.types) + attrsOf enum int listOf path submodule + ; + groups = filterAttrs (n: _: n != "_module") config.nixsap.system.lvm.raid0; createLV = vg: lv: s: opts: |