1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00

fix(config): 🔧 Add protocol prefixes to local API URLs

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";
};
This commit is contained in:
xnm
2025-08-31 16:28:47 +03:00
parent 4556f66ab2
commit 76f078cd17
2 changed files with 6 additions and 4 deletions

View File

@@ -125,7 +125,7 @@
"MCP_MODE": "stdio", "MCP_MODE": "stdio",
"LOG_LEVEL": "error", "LOG_LEVEL": "error",
"DISABLE_CONSOLE_OUTPUT": "true", "DISABLE_CONSOLE_OUTPUT": "true",
"N8N_API_URL": "localhost:5678", "N8N_API_URL": "http://localhost:5678",
"N8N_API_KEY": "your-api-key" "N8N_API_KEY": "your-api-key"
} }
}, },
@@ -138,7 +138,7 @@
], ],
"env": { "env": {
"COOLIFY_ACCESS_TOKEN": "0|your-secret-token", "COOLIFY_ACCESS_TOKEN": "0|your-secret-token",
"COOLIFY_BASE_URL": "localhost:8000" "COOLIFY_BASE_URL": "http://localhost:8000"
} }
}, },
"appwrite": { "appwrite": {
@@ -151,7 +151,7 @@
"env": { "env": {
"APPWRITE_PROJECT_ID": "your-project-id", "APPWRITE_PROJECT_ID": "your-project-id",
"APPWRITE_API_KEY": "your-api-key", "APPWRITE_API_KEY": "your-api-key",
"APPWRITE_ENDPOINT": "localhost:8088/v1" "APPWRITE_ENDPOINT": "http://localhost:8088/v1"
} }
} }
} }

View File

@@ -18,5 +18,7 @@
}; };
# Change runtime directory size # Change runtime directory size
services.logind.extraConfig = "RuntimeDirectorySize=8G"; services.logind.settings.Login = {
RuntimeDirectorySize="8G";
};
} }