flake-parts/setups: update deploy-rs node default config

This commit is contained in:
Gabriel Arazas 2024-01-16 21:47:57 +08:00
parent 93dbf68166
commit b08945aa39
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 20 additions and 6 deletions

View File

@ -23,9 +23,16 @@ let
freeformType = with lib.types; attrsOf anything; freeformType = with lib.types; attrsOf anything;
options = { options = {
fastConnection = lib.mkEnableOption "deploy-rs to assume the target machine is considered fast"; fastConnection =
autoRollback = lib.mkEnableOption "deploy-rs auto-rollback feature"; lib.mkEnableOption "deploy-rs to assume the target machine is considered fast";
magicRollback = lib.mkEnableOption "deploy-rs magic rollback feature"; autoRollback =
lib.mkEnableOption "deploy-rs auto-rollback feature" // {
default = true;
};
magicRollback =
lib.mkEnableOption "deploy-rs magic rollback feature" // {
default = true;
};
remoteBuild = lib.mkEnableOption "pass the build process to the remote machine"; remoteBuild = lib.mkEnableOption "pass the build process to the remote machine";
profiles = lib.mkOption { profiles = lib.mkOption {
type = with lib.types; functionTo (attrsOf anything); type = with lib.types; functionTo (attrsOf anything);

View File

@ -52,9 +52,16 @@ let
freeformType = with lib.types; attrsOf anything; freeformType = with lib.types; attrsOf anything;
options = { options = {
fastConnection = lib.mkEnableOption "deploy-rs to assume the target machine is considered fast"; fastConnection =
autoRollback = lib.mkEnableOption "deploy-rs auto-rollback feature"; lib.mkEnableOption "deploy-rs to assume the target machine is considered fast";
magicRollback = lib.mkEnableOption "deploy-rs magic rollback feature"; autoRollback =
lib.mkEnableOption "deploy-rs auto-rollback feature" // {
default = true;
};
magicRollback =
lib.mkEnableOption "deploy-rs magic rollback feature" // {
default = true;
};
remoteBuild = lib.mkEnableOption "pass the build process to the remote machine"; remoteBuild = lib.mkEnableOption "pass the build process to the remote machine";
profiles = lib.mkOption { profiles = lib.mkOption {
type = with lib.types; functionTo (attrsOf anything); type = with lib.types; functionTo (attrsOf anything);