{ lib, config, ... }: let inherit (lib) types mkOption; in { imports = [ ./partition/disks.nix ]; options = { valhalla = { fileSystems = { script = mkOption { type = types.str; description = "The script for preparing the system's mounts."; }; }; }; }; config = { valhalla = { fileSystems = { script = config.valhalla.fileSystems.diskSetup.script; }; }; }; }