clan-cli: Use Remote class in DeployInfo, add tests for qrcode parser and json parser

This commit is contained in:
Qubasa
2025-06-07 00:51:24 +02:00
parent e4b7462551
commit b1ef5f00bf
12 changed files with 301 additions and 151 deletions

View File

@@ -56,12 +56,12 @@ In the `flake.nix` file:
Adding or configuring a new machine requires two simple steps:
??? Machine Requirements
- RAM > 2GB
- RAM > 2GB
???+ Note "Cloud Machines"
NixOS can cause strange issues when booting in certain cloud environments.
- If on Linode: Make sure that the system uses Direct Disk boot kernel (found in the configuration pannel)
NixOS can cause strange issues when booting in certain cloud environments.
- If on Linode: Make sure that the system uses Direct Disk boot kernel (found in the configuration pannel)
### Step 1. Identify Target Disk-ID

View File

@@ -35,11 +35,6 @@ This guide shows you how to configure `zerotier` either through `NixOS Options`
- The `new_machine` machine, which is the machine we want to add to the vpn network.
## 2. Configure the Inventory
Note: consider picking a more descriptive name for the VPN than "default".
It will be added as an altname for the Zerotier virtual ethernet interface, and
will also be visible in the Zerotier app.
```nix
clan.inventory = {
services.zerotier.default = {