Use HTTPS URLs for public repo access
- Update Quick Start to use HTTPS (no SSH key needed) - Keep SSH instructions for push access - Use actual git.qrty.ink URLs in examples Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
30
README.md
30
README.md
@@ -11,11 +11,11 @@ A NixOS-based system for managing the three types of data in a computer:
|
|||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# One-command setup from any git server (adjust port if needed)
|
# One-command setup (public repo, no SSH key needed)
|
||||||
nix run 'git+ssh://git@your-server:2222/you/grapho.git'
|
nix run 'git+https://git.qrty.ink/blu/grapho.git'
|
||||||
|
|
||||||
# Or clone first, then run
|
# Or clone first, then run
|
||||||
git clone ssh://git@your-server:2222/you/grapho.git
|
git clone https://git.qrty.ink/blu/grapho.git
|
||||||
cd grapho
|
cd grapho
|
||||||
nix run .
|
nix run .
|
||||||
```
|
```
|
||||||
@@ -25,8 +25,8 @@ nix run .
|
|||||||
### First Computer (Initial Setup)
|
### First Computer (Initial Setup)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 1. Clone the repo (use ssh:// format for non-standard ports)
|
# 1. Clone the repo
|
||||||
git clone ssh://git@your-server:2222/you/grapho.git
|
git clone https://git.qrty.ink/blu/grapho.git
|
||||||
cd grapho
|
cd grapho
|
||||||
|
|
||||||
# 2. Run setup (one command - includes all dependencies)
|
# 2. Run setup (one command - includes all dependencies)
|
||||||
@@ -36,21 +36,21 @@ nix run .
|
|||||||
# 3. Choose option [1] "New setup (first device)"
|
# 3. Choose option [1] "New setup (first device)"
|
||||||
# This generates an age encryption key - SAVE IT!
|
# This generates an age encryption key - SAVE IT!
|
||||||
|
|
||||||
# 4. Push config to your git server
|
# 4. (Optional) Set up SSH for push access
|
||||||
cd ~/.config/usync/config
|
# Add your SSH key to Gitea: https://git.qrty.ink/user/settings/keys
|
||||||
git remote add origin ssh://git@your-server:2222/you/grapho-config.git
|
# Then switch to SSH remote:
|
||||||
git push -u origin main
|
git remote set-url origin ssh://git@git.qrty.ink:2222/blu/grapho.git
|
||||||
```
|
```
|
||||||
|
|
||||||
### Additional Computers (Joining)
|
### Additional Computers (Joining)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# One command from your git server
|
# One command (no SSH key needed for public repo)
|
||||||
nix run 'git+ssh://git@your-server:2222/you/grapho.git'
|
nix run 'git+https://git.qrty.ink/blu/grapho.git'
|
||||||
# Choose option [2], enter your git URL and age key
|
# Choose option [2], enter your config git URL and age key
|
||||||
|
|
||||||
# Or non-interactively:
|
# Or clone first:
|
||||||
git clone ssh://git@your-server:2222/you/grapho.git && cd grapho
|
git clone https://git.qrty.ink/blu/grapho.git && cd grapho
|
||||||
nix run . -- <config-git-url> <your-age-key>
|
nix run . -- <config-git-url> <your-age-key>
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@ Add to your flake.nix inputs, then import the module:
|
|||||||
|
|
||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
inputs.grapho.url = "git+ssh://git@your-server:2222/you/grapho.git";
|
inputs.grapho.url = "git+https://git.qrty.ink/blu/grapho.git";
|
||||||
|
|
||||||
# In your configuration:
|
# In your configuration:
|
||||||
imports = [ inputs.grapho.nixosModules.default ];
|
imports = [ inputs.grapho.nixosModules.default ];
|
||||||
|
|||||||
Reference in New Issue
Block a user