diff --git a/fediversity/default.nix b/fediversity/default.nix index 6a6b8676..e4c45cd4 100644 --- a/fediversity/default.nix +++ b/fediversity/default.nix @@ -2,7 +2,7 @@ let inherit (builtins) toString; - inherit (lib) mkOption mkEnableOption; + inherit (lib) mkOption mkEnableOption mkForce; inherit (lib.types) types; in { @@ -109,5 +109,10 @@ in { defaults.email = "nicolas.jeannerod+fediversity@moduscreate.com"; # defaults.server = "https://acme-staging-v02.api.letsencrypt.org/directory"; }; + + ## NOTE: For a one-machine deployment, this removes the need to provide an + ## `s3.garage.` domain. However, this will quickly stop working once + ## we go to multi-machines deployment. + fediversity.internal.garage.api.domain = mkForce "localhost"; }; }