Commit Graph

137 Commits

Author SHA1 Message Date
a-kenji
5f97805a94 templates: Remove description attribute from templates
Remove the `description` flake attribute from templates.
It has limited usefulness, is unset, is another thing the user has to
set and is confronted with.

It seems better to omit this attribute to keep the focus here on what
really matters.
2025-03-02 13:45:59 +00:00
a-kenji
48c08a0f62 templates: Remove unneeded article 2025-02-27 11:28:48 +00:00
a-kenji
c952fa0f80 templates: Remove superfluous comment
Remove this seemingly superfluous comment.
It is unclear what it really refers to.
Let's just remove it for brevity sake.
2025-02-27 09:57:13 +00:00
a-kenji
e952bbbaf7 templates/flake-parts: Add .envrc
Since the other template also has an `.envrc` let's keep everything
consistent.
2025-02-25 18:43:53 +07:00
Qubasa
125c2df666 docs: Fix multiple issues with the clan installation guide 2025-02-18 17:40:27 +07:00
Michael Hoang
ab6a9b2d52 templates: move machine templates 2025-02-17 02:15:42 +00:00
Michael Hoang
742040cd03 templates: allow specifying from flake-parts module 2025-02-16 21:10:22 +07:00
Jörg Thalheim
e27605d3a0 fix system.stateVersion 2025-02-14 12:22:26 +07:00
Qubasa
8baff4637e clan-cli: Fix disko template to not fail because of missing bootloader. 2025-02-10 20:36:55 +07:00
Qubasa
caaafdf5f9 clan-cli: Add test_clan_nix_attrset.py and minor fixups 2025-01-31 16:36:20 +07:00
Qubasa
0db5abf56a clan-cli: Make clan flakes create discover templates from inputs. Add clan flakes list command 2025-01-30 16:24:50 +07:00
Qubasa
ed6aaf5f0c clan: Add autoloaded clanModules from flake inputs. Rename 'directory' to 'self' in buildClan 2025-01-24 12:32:04 +07:00
lassulus
96f69627d8 minimal-flake-parts template: fix clan inputs name 2024-12-29 16:45:23 +01:00
Jörg Thalheim
4d8ca2d635 machines no longer need to be specified in buildClan 2024-12-04 12:14:32 +01:00
Johannes Kirschbauer
d1f624ad1f api/disk-templates: adopt directory structure from clan modules 2024-12-03 12:01:35 +01:00
Johannes Kirschbauer
1d566a47f4 Clan-api: init set disk_schema from facter report 2024-11-29 21:30:46 +01:00
hsjobeki
9201a29c1d revert 2031807acb
revert Clan-app: init single-disk template
2024-11-29 20:08:02 +00:00
Johannes Kirschbauer
2031807acb Clan-app: init single-disk template 2024-11-28 16:37:52 +01:00
Johannes Kirschbauer
de475c6aad Templates: init disko single disk template file 2024-11-28 11:44:09 +01:00
Johannes Kirschbauer
e4310e96c7 Templates: move all clan templates into subfolder 'clan' 2024-11-28 11:17:52 +01:00
DavHau
44e6fe803f vars: make all python tests work in nix sandbox
- generate a flake.lock file for each template by copying the clan-core flake.lock and modifying it

- call nix build with --store for tests inside the sandbox
2024-11-27 14:32:02 +07:00
a-kenji
e56523345b templates/minimal-flake-parts: Add meta.name
Add `meta.name` field for the flake parts template.
This is not quite ideal, because it still needs to be changed manually
after invocation of the template.
2024-11-19 12:33:18 +01:00
a-kenji
acf97df754 templates/minimal-flake-parts: add formatter 2024-11-09 23:08:14 +01:00
a-kenji
45c0a4a4cd templates: Add all basic supported systems to the minimal-flake-parts tempalte 2024-11-08 14:38:31 +01:00
a-kenji
985ab11808 flake/templates: Add minimal-flake-parts template 2024-11-08 13:07:27 +01:00
a-kenji
97f63205d2 templates: prefer non-shallow clones 2024-11-08 12:23:04 +01:00
a-kenji
d2e70e17e5 templates: add a minimal flake-parts template 2024-11-08 11:47:13 +01:00
danjujan
286d70e1a8 templates: fix typo 2024-10-29 12:37:34 +00:00
Jörg Thalheim
8de0c32086 build minimal template without settings.json 2024-10-09 12:26:17 +02:00
Louis Opter
3f2bb2b958 Update outdated help messages and fix a typo 2024-09-29 15:52:58 +00:00
Qubasa
945c491d05 clan flash: Remove root requirement for flash, add a flash-template 2024-09-24 13:42:21 +02:00
Qubasa
a27880a65e clan-cli: Move clan machines import to clan machines create 2024-09-23 17:11:48 +02:00
Qubasa
e9bfb129a1 clan-cli: Init clan machines import 2024-09-16 18:15:55 +02:00
a-kenji
60b68bc9bd templates: don't explicitly import hardware-configurations 2024-09-16 17:21:50 +02:00
a-kenji
bffa9e264f templates: new-clan use state-version module 2024-09-16 12:45:47 +00:00
a-kenji
45276d755f template/new-clan: improve documentation of disko module 2024-09-16 12:45:25 +00:00
a-kenji
1f7261f5f7 templates/new-clan: fix disko module 2024-09-16 14:09:14 +02:00
a-kenji
36b2b2ac03 templates: streamline the new-clan template 2024-09-15 17:46:14 +02:00
clan-bot
b62b034e41 Merge pull request 'clanCore: init machine_id_v3' (#2085) from Qubasa/clan-core:machine_id_v3 into main 2024-09-13 10:22:09 +00:00
Qubasa
60397e0ca4 clanCore: init machine_id_v3 2024-09-13 12:17:49 +02:00
a-kenji
b5f42a4cf9 templates: add stateVersion clanModule to new-clan template 2024-09-13 11:38:54 +02: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
1fcd1731e5 don't put hostnames into into disko labels
I believe there are length limits on this.
It's also very surprising if the system no longer boot after changing
the hostname.
2024-09-03 10:11:03 +02:00
Qubasa
e35fd0976a nixosModules: remove unnecessary ./iso and disk-layout, clanModules: fix issue #1349 2024-09-03 00:09:45 +02:00
Johannes Kirschbauer
fe815e5b45 Template: fix flake-parts template 2024-08-27 11:27:26 +02:00
Jörg Thalheim
30bbb142e2 Merge remote-tracking branch 'origin/main' into rework-installation 2024-08-21 13:38:04 +02:00