modules/nixos/disko-raid: refactor imports
This commit is contained in:
parent
c5315f3624
commit
18890baf28
2 changed files with 5 additions and 5 deletions
modules/nixos
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, ... }:
|
||||
{ inputs, lib, config, ... }:
|
||||
let
|
||||
mirrorBoot = idx: {
|
||||
type = "disk";
|
||||
|
@ -32,6 +32,9 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.disko.nixosModules.disko
|
||||
];
|
||||
options = {
|
||||
nixCommunity.disko.raidLevel = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue