From d51d65639162ea4683b22f4bd26a635b38c36e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 4 Aug 2025 11:20:14 +0200 Subject: [PATCH] consistently use tarball urls in documentation otherwise users not using our templates will find themselves missing git. --- docs/site/guides/clanServices.md | 2 +- docs/site/guides/flake-parts.md | 2 +- docs/site/guides/getting-started/create-installer.md | 2 +- docs/site/guides/getting-started/index.md | 2 +- docs/site/guides/migrations/migration-guide.md | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/site/guides/clanServices.md b/docs/site/guides/clanServices.md index 88f3a4962..e4be22157 100644 --- a/docs/site/guides/clanServices.md +++ b/docs/site/guides/clanServices.md @@ -60,7 +60,7 @@ If you used `clan-core` as an input attribute for your flake: ```nix # ↓ module.input = "clan-core" -inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core" +inputs.clan-core.url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz"; ``` ## Simplified Example diff --git a/docs/site/guides/flake-parts.md b/docs/site/guides/flake-parts.md index 7fd87da1b..7bbb67d66 100644 --- a/docs/site/guides/flake-parts.md +++ b/docs/site/guides/flake-parts.md @@ -17,7 +17,7 @@ inputs = { flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs"; clan-core = { - url = "git+https://git.clan.lol/clan/clan-core"; + url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz"; inputs.nixpkgs.follows = "nixpkgs"; # Don't do this if your machines are on nixpkgs stable. # New inputs.flake-parts.follows = "flake-parts"; diff --git a/docs/site/guides/getting-started/create-installer.md b/docs/site/guides/getting-started/create-installer.md index 66b10ad7a..2476d014b 100644 --- a/docs/site/guides/getting-started/create-installer.md +++ b/docs/site/guides/getting-started/create-installer.md @@ -55,7 +55,7 @@ sudo umount /dev/sdb1 - Set your preferred language and keymap ```bash - clan flash write --flake git+https://git.clan.lol/clan/clan-core \ + clan flash write --flake https://git.clan.lol/clan/clan-core/archive/main.tar.gz \ --ssh-pubkey $HOME/.ssh/id_ed25519.pub \ --keymap us \ --language en_US.UTF-8 \ diff --git a/docs/site/guides/getting-started/index.md b/docs/site/guides/getting-started/index.md index 20b123b91..5532f3865 100644 --- a/docs/site/guides/getting-started/index.md +++ b/docs/site/guides/getting-started/index.md @@ -41,7 +41,7 @@ By the end of this guide, you'll have a fresh NixOS configuration ready to push Create a new clan ```bash -nix run git+https://git.clan.lol/clan/clan-core#clan-cli --refresh -- flakes create +nix run https://git.clan.lol/clan/clan-core/archive/main.tar.gz#clan-cli --refresh -- flakes create ``` This should prompt for a *name*: diff --git a/docs/site/guides/migrations/migration-guide.md b/docs/site/guides/migrations/migration-guide.md index 59404f9de..d2e2c78d5 100644 --- a/docs/site/guides/migrations/migration-guide.md +++ b/docs/site/guides/migrations/migration-guide.md @@ -50,7 +50,7 @@ manage your configurations with clan. ```nix inputs.clan-core = { - url = "git+https://git.clan.lol/clan/clan-core"; + url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz"; # Don't do this if your machines are on nixpkgs stable. inputs.nixpkgs.follows = "nixpkgs"; } @@ -79,7 +79,7 @@ For the provide flake example, your flake should now look like this: inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; inputs.clan-core = { - url = "git+https://git.clan.lol/clan/clan-core"; + url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz"; inputs.nixpkgs.follows = "nixpkgs"; };