feat(deployment): make all options defaults

This commit is contained in:
Julien Malka 2024-08-21 23:26:10 +02:00
parent 7c30e67f8f
commit 0a97492051
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -11,11 +11,11 @@ in
config = mkIf cfg.enable {
deployment = {
targetHost = "${hostname}.${config.machine.meta.tld}";
targetPort = 45;
targetUser = "root";
allowLocalDeployment = true;
buildOnTarget = true;
targetHost = lib.mkDefault "${hostname}.${config.machine.meta.tld}";
targetPort = lib.mkDefault 45;
targetUser = lib.mkDefault "root";
allowLocalDeployment = lib.mkDefault true;
buildOnTarget = lib.mkDefault true;
};
};