diff --git a/README.md b/README.md index 01f1b9f..251ff4f 100644 --- a/README.md +++ b/README.md @@ -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 (adjust port if needed) -nix run 'git+ssh://git@your-server:2222/you/grapho.git' +# One-command setup (public repo, no SSH key needed) +nix run 'git+https://git.qrty.ink/blu/grapho.git' # 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 nix run . ``` @@ -25,8 +25,8 @@ nix run . ### First Computer (Initial Setup) ```bash -# 1. Clone the repo (use ssh:// format for non-standard ports) -git clone ssh://git@your-server:2222/you/grapho.git +# 1. Clone the repo +git clone https://git.qrty.ink/blu/grapho.git cd grapho # 2. Run setup (one command - includes all dependencies) @@ -36,21 +36,21 @@ nix run . # 3. Choose option [1] "New setup (first device)" # This generates an age encryption key - SAVE IT! -# 4. Push config to your git server -cd ~/.config/usync/config -git remote add origin ssh://git@your-server:2222/you/grapho-config.git -git push -u origin main +# 4. (Optional) Set up SSH for push access +# Add your SSH key to Gitea: https://git.qrty.ink/user/settings/keys +# Then switch to SSH remote: +git remote set-url origin ssh://git@git.qrty.ink:2222/blu/grapho.git ``` ### Additional Computers (Joining) ```bash -# One command from your git server -nix run 'git+ssh://git@your-server:2222/you/grapho.git' -# Choose option [2], enter your git URL and age key +# One command (no SSH key needed for public repo) +nix run 'git+https://git.qrty.ink/blu/grapho.git' +# Choose option [2], enter your config git URL and age key -# Or non-interactively: -git clone ssh://git@your-server:2222/you/grapho.git && cd grapho +# Or clone first: +git clone https://git.qrty.ink/blu/grapho.git && cd grapho nix run . -- ``` @@ -78,7 +78,7 @@ Add to your flake.nix inputs, then import the module: ```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: imports = [ inputs.grapho.nixosModules.default ];