about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/socrates/configuration.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix
index 564ee48e860b..fb0964aaea37 100644
--- a/nixos/socrates/configuration.nix
+++ b/nixos/socrates/configuration.nix
@@ -81,7 +81,12 @@ in {
 
   services.openssh.enable = true;
 
-  services.gitea.enable = true;
+  services.gitea = {
+    enable = true;
+    # Without this the links to clone a repository like briefcase will be
+    # "http://localhost:3000/wpcarro/briefcase".
+    rootUrl = "https://git.wpcarro.dev/";
+  };
 
   systemd.services.monzo-token-server = {
     enable = true;