From 76f078cd1702e6ae73690b1ab4f956466371698b Mon Sep 17 00:00:00 2001 From: xnm Date: Sun, 31 Aug 2025 16:28:47 +0300 Subject: [PATCH] =?UTF-8?q?fix(config):=20=F0=9F=94=A7=20Add=20protocol=20?= =?UTF-8?q?prefixes=20to=20local=20API=20URLs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated MCP server configuration URLs to include `http://` protocol prefix for: - n8n API URL (`localhost:5678` → `http://localhost:5678`) - Coolify base URL (`localhost:8000` → `http://localhost:8000`) - Appwrite endpoint (`localhost:8088/v1` → `http://localhost:8088/v1`) Also migrated logind configuration from `extraConfig` string to structured settings format for better maintainability. ```nix services.logind.settings.Login = { RuntimeDirectorySize = "8G"; }; --- home/.config/crush/crush.json | 6 +++--- nixos/users.nix | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/home/.config/crush/crush.json b/home/.config/crush/crush.json index 4a55656..188041d 100644 --- a/home/.config/crush/crush.json +++ b/home/.config/crush/crush.json @@ -125,7 +125,7 @@ "MCP_MODE": "stdio", "LOG_LEVEL": "error", "DISABLE_CONSOLE_OUTPUT": "true", - "N8N_API_URL": "localhost:5678", + "N8N_API_URL": "http://localhost:5678", "N8N_API_KEY": "your-api-key" } }, @@ -138,7 +138,7 @@ ], "env": { "COOLIFY_ACCESS_TOKEN": "0|your-secret-token", - "COOLIFY_BASE_URL": "localhost:8000" + "COOLIFY_BASE_URL": "http://localhost:8000" } }, "appwrite": { @@ -151,7 +151,7 @@ "env": { "APPWRITE_PROJECT_ID": "your-project-id", "APPWRITE_API_KEY": "your-api-key", - "APPWRITE_ENDPOINT": "localhost:8088/v1" + "APPWRITE_ENDPOINT": "http://localhost:8088/v1" } } } diff --git a/nixos/users.nix b/nixos/users.nix index b21951c..ff45cd9 100644 --- a/nixos/users.nix +++ b/nixos/users.nix @@ -18,5 +18,7 @@ }; # Change runtime directory size - services.logind.extraConfig = "RuntimeDirectorySize=8G"; + services.logind.settings.Login = { + RuntimeDirectorySize="8G"; + }; }