modules/nixos/disko-raid: refactor imports

This commit is contained in:
zowoq 2023-12-07 09:42:53 +10:00
parent c5315f3624
commit 18890baf28
2 changed files with 5 additions and 5 deletions
modules/nixos

View file

@ -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;