Qubasa
51f9c5724a
Revert "add flakeparts to template test"
...
This reverts commit a263643cd7 .
2025-06-28 22:43:34 +07:00
Qubasa
4143e03042
Revert "Update new-clan template"
...
This reverts commit 7ad7c3f859 .
2025-06-28 22:42:46 +07:00
Qubasa
863aa9029c
Revert "Cleanup templates"
...
This reverts commit 77d8f76eb8 .
2025-06-28 22:42:39 +07:00
Qubasa
2b5f20c4f4
Revert "templates/minimal: consistent input names"
...
This reverts commit 8ab9556a12 .
2025-06-28 22:42:20 +07:00
Qubasa
ed853e19f5
Revert "templates/minimal: reuse flake-parts from clan-core"
...
This reverts commit de7f2dc6cb .
2025-06-28 22:41:45 +07:00
Qubasa
9f1482e539
Revert "templates: fix tests"
...
This reverts commit df598275f9 .
2025-06-28 22:41:31 +07:00
Qubasa
ab872711c8
Revert "templates: remove .clan-flake"
...
This reverts commit 14eb541256 .
2025-06-28 22:40:55 +07:00
Johannes Kirschbauer
14eb541256
templates: remove .clan-flake
2025-06-27 19:14:21 +02:00
Johannes Kirschbauer
df598275f9
templates: fix tests
2025-06-27 19:14:21 +02:00
Johannes Kirschbauer
de7f2dc6cb
templates/minimal: reuse flake-parts from clan-core
2025-06-27 16:11:37 +02:00
Johannes Kirschbauer
8ab9556a12
templates/minimal: consistent input names
2025-06-27 11:04:31 +02:00
pinpox
a263643cd7
add flakeparts to template test
2025-06-27 11:04:31 +02:00
pinpox
77d8f76eb8
Cleanup templates
2025-06-27 10:39:59 +02:00
pinpox
7ad7c3f859
Update new-clan template
2025-06-27 10:39:59 +02:00
DavHau
d37c7c4c05
buildClan function: export all machines via nixosModules/darwinModules
...
We want each machine not only to be exposed via nixosConfigurations but also as a module.
This allows re-importing the machine in tests and override the architecture for example.
2025-06-09 12:51:22 +00:00
Jörg Thalheim
00984ec581
add inputs to specialArgs and make templates use it.
2025-05-30 19:53:12 +02:00
Jörg Thalheim
8cb6424504
templates: unify specialArgs across examples
2025-05-30 19:22:45 +02:00
Michael Hoang
b6d20a63f5
docs: point users towards passing in self to buildClan
2025-05-27 13:49:14 +10:00
Johannes Kirschbauer
d3fc1725f0
docs: replace outdates reference links to 'guides' in the cli
2025-05-20 18:49:35 +02:00
Jörg Thalheim
7eb0c0ad3d
installer: set requireExplicitUpdate
...
We usually don't want to update this system by default.
2025-05-13 15:02:05 +02:00
Michael Hoang
87e3e59ba0
cli: don't depend on the entire clan-core
2025-04-28 13:20:07 +10:00
Jörg Thalheim
cbde58e1d8
zerotier: migrate from facts to vars
2025-04-22 18:20:35 +02:00
Johannes Kirschbauer
e37f16f47a
treewide(clanLib): rename all occurences of {clan-core,self}.lib to 'clanLib'
2025-04-09 11:32:46 +02:00
Qubasa
63a0e5f35d
clan-cli: Fix templates not downloading template, Make templates use Flake cache, Fix flake cache exception on conditional attribute, add more tests
2025-03-19 10:30:52 +00:00
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