doc: use clan-core as inputs name
This commit is contained in:
@@ -5,7 +5,7 @@ inventory.instances = {
|
|||||||
borgbackup = {
|
borgbackup = {
|
||||||
module = {
|
module = {
|
||||||
name = "borgbackup";
|
name = "borgbackup";
|
||||||
input = "clan";
|
input = "clan-core";
|
||||||
};
|
};
|
||||||
roles.client.machines."jon".settings = {
|
roles.client.machines."jon".settings = {
|
||||||
destinations."storagebox" = {
|
destinations."storagebox" = {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ inventory.instances = {
|
|||||||
clan-cache = {
|
clan-cache = {
|
||||||
module = {
|
module = {
|
||||||
name = "trusted-nix-caches";
|
name = "trusted-nix-caches";
|
||||||
input = "clan";
|
input = "clan-core";
|
||||||
};
|
};
|
||||||
roles.default.machines.draper = { };
|
roles.default.machines.draper = { };
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
user-alice = {
|
user-alice = {
|
||||||
module = {
|
module = {
|
||||||
name = "users";
|
name = "users";
|
||||||
input = "clan";
|
input = "clan-core";
|
||||||
};
|
};
|
||||||
roles.default.tags.all = { };
|
roles.default.tags.all = { };
|
||||||
roles.default.settings = {
|
roles.default.settings = {
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
user-bob = {
|
user-bob = {
|
||||||
module = {
|
module = {
|
||||||
name = "users";
|
name = "users";
|
||||||
input = "clan";
|
input = "clan-core";
|
||||||
};
|
};
|
||||||
roles.default.machines.bobs-laptop = { };
|
roles.default.machines.bobs-laptop = { };
|
||||||
roles.default.settings.user = "bob";
|
roles.default.settings.user = "bob";
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ inventory.instances = {
|
|||||||
zerotier = {
|
zerotier = {
|
||||||
module = {
|
module = {
|
||||||
name = "zerotier";
|
name = "zerotier";
|
||||||
input = "clan";
|
input = "clan-core";
|
||||||
};
|
};
|
||||||
roles.peer.tags.all = { };
|
roles.peer.tags.all = { };
|
||||||
roles.controller.machines.jon = { };
|
roles.controller.machines.jon = { };
|
||||||
@@ -18,7 +18,6 @@ All machines will be peers and connected to the zerotier network.
|
|||||||
Jon is the controller machine, which will will accept other machines into the network.
|
Jon is the controller machine, which will will accept other machines into the network.
|
||||||
Sara is a moon and sets the `stableEndpoint` setting with a publicly reachable IP, the moon is optional.
|
Sara is a moon and sets the `stableEndpoint` setting with a publicly reachable IP, the moon is optional.
|
||||||
|
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
This guide explains how to set up and manage a [ZeroTier VPN](https://zerotier.com) for a clan network. Each VPN requires a single controller and can support multiple peers and optional moons for better connectivity.
|
This guide explains how to set up and manage a [ZeroTier VPN](https://zerotier.com) for a clan network. Each VPN requires a single controller and can support multiple peers and optional moons for better connectivity.
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
This guide explains how to set up and manage
|
This guide explains how to set up and manage
|
||||||
[BorgBackup](https://borgbackup.readthedocs.io/) for secure, efficient backups
|
[BorgBackup](https://borgbackup.readthedocs.io/) for secure, efficient backups
|
||||||
in a clan network. BorgBackup provides:
|
in a clan network. BorgBackup provides:
|
||||||
@@ -18,7 +17,7 @@ inventory.instances = {
|
|||||||
borgbackup = {
|
borgbackup = {
|
||||||
module = {
|
module = {
|
||||||
name = "borgbackup";
|
name = "borgbackup";
|
||||||
input = "clan";
|
input = "clan-core";
|
||||||
};
|
};
|
||||||
roles.client.machines."jon".settings = {
|
roles.client.machines."jon".settings = {
|
||||||
destinations."storagebox" = {
|
destinations."storagebox" = {
|
||||||
@@ -177,7 +176,7 @@ storagebox::username@username.your-storagebox.de:/./borgbackup::jon-storagebox-2
|
|||||||
|
|
||||||
### Restoring backups
|
### Restoring backups
|
||||||
|
|
||||||
For restoring a backup you have two options.
|
For restoring a backup you have two options.
|
||||||
|
|
||||||
#### Full restoration
|
#### Full restoration
|
||||||
|
|
||||||
@@ -194,6 +193,3 @@ To restore only a specific service (e.g., `linkding`):
|
|||||||
```bash
|
```bash
|
||||||
clan backups restore --service linkding jon borgbackup storagebox::u444061@u444061.your-storagebox.de:/./borgbackup::jon-storagebox-2025-07-24T06:02:35
|
clan backups restore --service linkding jon borgbackup storagebox::u444061@u444061.your-storagebox.de:/./borgbackup::jon-storagebox-2025-07-24T06:02:35
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ inputs, ... }:
|
{ inputs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.clan.flakeModules.default
|
inputs.clan-core.flakeModules.default
|
||||||
];
|
];
|
||||||
clan = {
|
clan = {
|
||||||
meta.name = "__CHANGE_ME__";
|
meta.name = "__CHANGE_ME__";
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ _: {
|
|||||||
devShells = {
|
devShells = {
|
||||||
default = pkgs.mkShellNoCC {
|
default = pkgs.mkShellNoCC {
|
||||||
packages = [
|
packages = [
|
||||||
inputs'.clan.packages.default
|
inputs'.clan-core.packages.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user