diff --git a/lib/modules/partition.nix b/lib/modules/partition.nix new file mode 100644 index 00000000..ccdcc604 --- /dev/null +++ b/lib/modules/partition.nix @@ -0,0 +1,18 @@ +{ lib, ... }: + let + in { + options = { + partition = { + script = lib.mkOption { + type = lib.types.lines; + description = "The script for partitioning the system's disks."; + }; + }; + }; + + config = { + partition = { + script = "echo 'hello world'"; + }; + }; + }