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;
options = {
fastConnection = lib.mkEnableOption "deploy-rs to assume the target machine is considered fast";
autoRollback = lib.mkEnableOption "deploy-rs auto-rollback feature";
magicRollback = lib.mkEnableOption "deploy-rs magic rollback feature";
fastConnection =
lib.mkEnableOption "deploy-rs to assume the target machine is considered fast";
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";
profiles = lib.mkOption {
type = with lib.types; functionTo (attrsOf anything);

View File

@ -52,9 +52,16 @@ let
freeformType = with lib.types; attrsOf anything;
options = {
fastConnection = lib.mkEnableOption "deploy-rs to assume the target machine is considered fast";
autoRollback = lib.mkEnableOption "deploy-rs auto-rollback feature";
magicRollback = lib.mkEnableOption "deploy-rs magic rollback feature";
fastConnection =
lib.mkEnableOption "deploy-rs to assume the target machine is considered fast";
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";
profiles = lib.mkOption {
type = with lib.types; functionTo (attrsOf anything);