Commit Graph

437 Commits

Author SHA1 Message Date
Johannes Kirschbauer
08d26b9463 Inventory/schemas: move all schemas to legacyPackages 2024-10-09 13:27:09 +02:00
Johannes Kirschbauer
0e5086c133 Docs: improve module author guide code examples, code structuring 2024-10-09 10:28:41 +02:00
Johannes Kirschbauer
3fe83eb9d8 Docs: minor improvements 2024-10-09 09:38:31 +02:00
Johannes Kirschbauer
2ba3222b51 Docs: move disko config example into nix files 2024-10-08 19:04:03 +02:00
Johannes Kirschbauer
8fbaa3091a Docs: init module author guide 2024-10-08 14:22:16 +02:00
Johannes Kirschbauer
47b9a1cb7f docs: improve flake-parts reference 2024-10-01 11:21:30 +02:00
Johannes Kirschbauer
026481f9d7 Docs: harmonize titles 2024-09-25 14:06:55 +02:00
Johannes Kirschbauer
579d24a828 Docs: authorizedKeys is a list 2024-09-25 14:06:55 +02:00
Johannes Kirschbauer
a67fb750cf Docs: fixup links 2024-09-25 13:46:12 +02:00
Johannes Kirschbauer
aa30b17201 Docs: autogenerate inventory & buildClan model 2024-09-25 13:38:10 +02:00
Johannes Kirschbauer
60ddd3369e Docs: restructure apply diataxis 2024-09-25 13:37:35 +02:00
Jörg Thalheim
cd67a5dc53 docs: renaming "Include Machines" to "Adding Machines" 2024-09-24 12:52:53 +02:00
Johannes Kirschbauer
37435acd79 Docs: fix flake-parts nav entry 2024-09-22 18:52:22 +02:00
Johannes Kirschbauer
30711a3d6d Docs: clarify inventory statement 2024-09-22 18:46:39 +02:00
Johannes Kirschbauer
55526b1fdb Docs: add top-level index, refactor according to diataxis 2024-09-22 18:39:13 +02:00
Qubasa
036cd710e1 docs: Rename guides to manual, Rename reference to options, add secure boot chapter to manual. Add secrets chapter to manual. 2024-09-20 16:52:52 +02:00
Jörg Thalheim
8a8b473236 rename hw-generate to update-hardware-config 2024-09-20 13:42:18 +02:00
Johannes Kirschbauer
9a24b1ee16 Inventory: docs fixup 2024-09-18 08:31:00 +02:00
a-kenji
7cdbe83bc6 docs/guides: add getting started guide to guides overview 2024-09-16 23:21:02 +02:00
Johannes Kirschbauer
3721fc4340 Inventory: fix doc typo 2024-09-16 22:52:40 +02:00
Johannes Kirschbauer
72f79dee37 Inventory: docs improvements 2024-09-16 22:52:40 +02:00
Johannes Kirschbauer
97f4124e3b Inventory: docs improvements 2024-09-16 13:50:03 +00:00
Qubasa
cafab5783f clan-cli: Moved flash to own subcommand 2024-09-15 15:53:17 +02:00
Johannes Kirschbauer
e889528ca0 ClanModules: make all module available to inventory 2024-09-13 17:18:20 +02:00
Qubasa
edc879b276 docs: Fix line highlighting, add warning to single-disk 2024-09-13 15:01:29 +02:00
Qubasa
60397e0ca4 clanCore: init machine_id_v3 2024-09-13 12:17:49 +02:00
a-kenji
56ce3d625c clanModules/state-version: init state-version
This adds a clanModule that will initialize the `system.stateVersion`
upon deploying the machine for the first time.

If the machine is completely reinstalled, then the state version might be
regenerated. But care should be taken if rebuilding from backups.
2024-09-12 15:47:30 +02:00
a-kenji
a67e13a9f7 blog: interop fix some nits 2024-09-12 10:32:20 +00:00
Johannes Kirschbauer
876540ef87 Blogpost: interfaces blogpost 2024-09-12 10:32:20 +00:00
a-kenji
b13ed922b1 Revert "Merge pull request 'machine_id_v2' (#2052) from Qubasa/clan-core:machine_id_v2 into main"
This reverts commit 22a11abfe5, reversing
changes made to 208b71ac0e.
2024-09-10 14:01:12 +02:00
Qubasa
5c975a5eef clanCore: init machineId and diskId v2 2024-09-09 15:51:31 +02:00
Qubasa
2efa096d29 revert machine_id pull request 2024-09-06 21:38:50 +02:00
Qubasa
67bc66164c templates: Rename diskIdShort to diskId 2024-09-06 18:55:00 +02:00
Qubasa
4171d5ea4e clanCore: init machine_id.nix with clan.core.machine.{id,diskId} 2024-09-06 18:05:40 +02:00
Jörg Thalheim
5ac3ac63c2 get rid of ValueError 2024-09-03 18:14:31 +02:00
Jörg Thalheim
535a39cff3 Revert "nixosModules,pkgs: remove installer. clanModules: init installer module"
This reverts commit 1090e36cf1.
2024-09-03 07:04:34 +02:00
Qubasa
1090e36cf1 nixosModules,pkgs: remove installer. clanModules: init installer module 2024-09-03 00:25:16 +02:00
Qubasa
e35fd0976a nixosModules: remove unnecessary ./iso and disk-layout, clanModules: fix issue #1349 2024-09-03 00:09:45 +02:00
Jörg Thalheim
9de48de991 put render-options not in the toplevel nix store path
on start python will do a listdir on the hole nix store otherwise
2024-09-02 17:47:00 +02:00
Jörg Thalheim
574567c1c4 use pathlib 2024-09-02 17:40:05 +02:00
Jörg Thalheim
e150b37fb8 enable ASYNC, DTZ, YTT and EM lints 2024-09-02 14:07:06 +02:00
Qubasa
b41fe4352b docs: Fix incorrect command in disk-encryption getting started 2024-09-02 00:08:38 +02:00
a-kenji
0c58e1b33b docs: improve zerotier documentation 2024-08-30 15:11:03 +02:00
clan-bot
d0e5451155 Merge pull request 'ClanModule: init Admin module' (#1978) from hsjobeki/clan-core:hsjobeki-main into main 2024-08-26 16:57:21 +00:00
Johannes Kirschbauer
e9d0b8c765 Python classes: add admin module 2024-08-26 18:41:12 +02:00
Qubasa
1a376ffc83 clanModules: Init heisenbridge matrix <-> IRC bridge 2024-08-26 16:59:53 +02:00
Qubasa
ca60743b2b docs: Improve iwd, vaultwarden, dyndns, disk-encryption and installer documentation 2024-08-24 13:10:22 +02:00
Qubasa
3e2b7f95a4 clanModules: Add vaultwarden module. Add nginx module. Make matrix-synapse subdomain configurable 2024-08-23 18:15:48 +02:00
Jörg Thalheim
30bbb142e2 Merge remote-tracking branch 'origin/main' into rework-installation 2024-08-21 13:38:04 +02:00
Aos Dabbagh
1e96f59ecd fix(installer): Fix language check case
When attempting to follow the docs on the installer, this error comes
up:
```
$ clan flash --flake git+https://git.clan.lol/clan/clan-core \
             --ssh-pubkey ~/.ssh/id_ed25519.pub \
             --keymap us \
             --language en_US.utf-8 \
             --dry-run flash-installer

ERROR: Language 'en_US.utf-8' is not a valid language. Run 'clan flash --list-languages' to see a list of possible languages.
```

I only decided to clean up the docs, but I'm also okay with just
downcasing the locales in `list_possible_languages()`.
2024-08-21 08:15:49 +00:00