Skip to content

Suggestion: cache result of configuration checks #303

@StoicDeveloper

Description

@StoicDeveloper

When deploying all profiles within a flake, I've noticed that a long time can be spent checking the various nixos configurations. The tool nixos-rebuild will cache failures, and not attempt rebuilding a configuration if it has not been changed since the last build failure. Would it be possible to do something similar with deploy-rs? Currently I use --skip-checks a lot when deploying small changes, since running the checks takes an unfeasible amount of time, even when large parts of the config have no changes, such that their validity is guaranteed.

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