Update SSH URLs to use port 2222 format

Use ssh://git@server:2222/user/repo.git format for non-standard
SSH ports in README and flake.nix examples.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-13 09:38:16 -05:00
parent f8b344d26d
commit 096070bffe
2 changed files with 10 additions and 10 deletions

View File

@@ -11,11 +11,11 @@ A NixOS-based system for managing the three types of data in a computer:
## Quick Start
```bash
# One-command setup from any git server
nix run 'git+ssh://git@your-server/you/grapho.git'
# One-command setup from any git server (adjust port if needed)
nix run 'git+ssh://git@your-server:2222/you/grapho.git'
# Or clone first, then run
git clone git@your-server:you/grapho.git
git clone ssh://git@your-server:2222/you/grapho.git
cd grapho
nix run .
```
@@ -25,8 +25,8 @@ nix run .
### First Computer (Initial Setup)
```bash
# 1. Clone the repo
git clone git@your-server:you/grapho.git
# 1. Clone the repo (use ssh:// format for non-standard ports)
git clone ssh://git@your-server:2222/you/grapho.git
cd grapho
# 2. Run setup (one command - includes all dependencies)
@@ -38,7 +38,7 @@ nix run .
# 4. Push config to your git server
cd ~/.config/usync/config
git remote add origin git@your-server:you/grapho-config.git
git remote add origin ssh://git@your-server:2222/you/grapho-config.git
git push -u origin main
```
@@ -46,11 +46,11 @@ git push -u origin main
```bash
# One command from your git server
nix run 'git+ssh://git@your-server/you/grapho.git'
nix run 'git+ssh://git@your-server:2222/you/grapho.git'
# Choose option [2], enter your git URL and age key
# Or non-interactively:
git clone git@your-server:you/grapho.git && cd grapho
git clone ssh://git@your-server:2222/you/grapho.git && cd grapho
nix run . -- <config-git-url> <your-age-key>
```
@@ -78,7 +78,7 @@ Add to your flake.nix inputs, then import the module:
```nix
{
inputs.grapho.url = "git+ssh://git@your-server/you/grapho.git";
inputs.grapho.url = "git+ssh://git@your-server:2222/you/grapho.git";
# In your configuration:
imports = [ inputs.grapho.nixosModules.default ];