Skip to content

Usage for configurations without disko #274

Open
@kagehisa

Description

@kagehisa

I've recently started to use nisos-anywhere to deploy my configurations which also inkludes a disko definition on machines that have a relative simple disk layout.
Now I'm struggling to use my data server as well as my Raspberry Pi with nixos-anywhere. The reason for the data server is that disko does not support a multi device setup for Btrfs at the moment so I would need to replace the disko step with a custom script. Same goes for the Raspberry Pi, since I'm using the UEFI Firmware on it the disk is already partitioned and only need to be mounted.

Would it be possible to have a flag like --skip-disko that requires/takes a script as argument which creates, formats and mounts the partitions to match the configuration given to nixos-anywhere? Basically a manual format and mount in the form of a script.

I know the use case is a bit niche but it would be helpful especially for the part with non supported setups by disko.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions