types: refactor into diskoLib

This commit is contained in:
lassulus committed 2023-05-20 13:56:42 +02:00
1 parent efb2016c8e
commit 22b33a4fd6
21 files changed
+146 -146

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
{ lib, nixosOptionsDoc, runCommand, fetchurl, pandoc }:
let
types = import ./types {
diskoLib = import ./lib {
inherit lib;
rootMountPoint = "/mnt";
};
@@ -10,7 +10,7 @@ let
{
options.disko = {
devices = lib.mkOption {
type = types.devices;
type = diskoLib.devices;
default = { };
description = "The devices to set up";
};