hsjobeki
09b8e2f49c
Merge pull request 'Templates/default: move clan configuration into its own file' ( #4262 ) from templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4262
2025-07-08 13:46:19 +00:00
a-kenji
7ac4d257d9
templates(minimal): Add .envrc
...
Add .envrc also to the minimal template to homogenize our templates.
2025-07-08 13:09:04 +02:00
Johannes Kirschbauer
79d8d0707b
Templates/default/modules/gnome: Add doc-comment - what the module does, how to use it
2025-07-08 10:06:22 +02:00
Johannes Kirschbauer
b2179c9293
Templates/default: remove predefined machines
2025-07-08 10:05:35 +02:00
Johannes Kirschbauer
e33af96705
Templates/default: move clan configuration into its own file
...
Doing this with the idea in mind, that flake-parts / default should define the same clan in clan.nix
We can add a CI check to ensure both are the same files
They got desynced in the past and describe completely different clans now
2025-07-08 10:04:17 +02:00
Johannes Kirschbauer
d02868b950
templates: add .gitignore files to all templates
2025-07-07 15:50:00 +00:00
Johannes Kirschbauer
4f7d82671f
Templates: remove 'minimal-flake-parts'
2025-07-07 15:50:00 +00:00
Johannes Kirschbauer
0dce3fc7ec
templates: rename 'new_clan' to default
2025-07-07 15:50:00 +00:00
Johannes Kirschbauer
0e10122d54
api/clan: rename 'show_clan_meta' -> 'get_clan_details'
2025-07-07 10:41:00 +02:00
Johannes Kirschbauer
7ad8ed1af0
Templates: fix invalid mock flake
2025-07-06 16:43:38 +02:00
pinpox
a0a9cef2a6
Add state-version nixos option
...
This reverts commit 695574988e .
2025-07-04 11:54:12 +02:00
Johannes Kirschbauer
695574988e
Revert "Merge pull request 'Make state-version generation an clan option' ( #4056 ) from state-version-option into main"
...
This reverts commit a101ff1f11 , reversing
changes made to f12b62d8b4 .
2025-07-01 18:15:11 +02:00
Johannes Kirschbauer
ae274d6b82
buildClan: replace all usages by lib.clan
2025-07-01 11:56:31 +02:00
pinpox
9e7e0378a8
Remove state-version module from tests
2025-06-30 12:58:05 +02:00
Qubasa
d542c87639
Revert "add flakeparts to template test"
...
This reverts commit c2d0a19ed4 .
2025-06-28 22:43:34 +07:00
Qubasa
3cb250d5a4
Revert "Update new-clan template"
...
This reverts commit c2d8cdf7f1 .
2025-06-28 22:42:46 +07:00
Qubasa
3a772a5f56
Revert "Cleanup templates"
...
This reverts commit a3a81a959a .
2025-06-28 22:42:39 +07:00
Qubasa
277ef4f946
Revert "templates/minimal: consistent input names"
...
This reverts commit c847766f9e .
2025-06-28 22:42:20 +07:00
Qubasa
46bc5b519a
Revert "templates/minimal: reuse flake-parts from clan-core"
...
This reverts commit 03b5c6de02 .
2025-06-28 22:41:45 +07:00
Qubasa
b14357a4e0
Revert "templates: fix tests"
...
This reverts commit 7ce29938e9 .
2025-06-28 22:41:31 +07:00
Qubasa
ba19aa8810
Revert "templates: remove .clan-flake"
...
This reverts commit bf377bd4e0 .
2025-06-28 22:40:55 +07:00
Johannes Kirschbauer
bf377bd4e0
templates: remove .clan-flake
2025-06-27 19:14:21 +02:00
Johannes Kirschbauer
7ce29938e9
templates: fix tests
2025-06-27 19:14:21 +02:00
Johannes Kirschbauer
03b5c6de02
templates/minimal: reuse flake-parts from clan-core
2025-06-27 16:11:37 +02:00
Johannes Kirschbauer
c847766f9e
templates/minimal: consistent input names
2025-06-27 11:04:31 +02:00
pinpox
c2d0a19ed4
add flakeparts to template test
2025-06-27 11:04:31 +02:00
pinpox
a3a81a959a
Cleanup templates
2025-06-27 10:39:59 +02:00
pinpox
c2d8cdf7f1
Update new-clan template
2025-06-27 10:39:59 +02:00
DavHau
7cf065ae8c
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
646a3d56ce
add inputs to specialArgs and make templates use it.
2025-05-30 19:53:12 +02:00
Jörg Thalheim
9d62001a27
templates: unify specialArgs across examples
2025-05-30 19:22:45 +02:00
Michael Hoang
eadd59ff21
docs: point users towards passing in self to buildClan
2025-05-27 13:49:14 +10:00
Johannes Kirschbauer
53dcc4e332
docs: replace outdates reference links to 'guides' in the cli
2025-05-20 18:49:35 +02:00
Jörg Thalheim
d9075a5d79
installer: set requireExplicitUpdate
...
We usually don't want to update this system by default.
2025-05-13 15:02:05 +02:00
Michael Hoang
c73652a401
cli: don't depend on the entire clan-core
2025-04-28 13:20:07 +10:00
Jörg Thalheim
fe6fd41a4d
zerotier: migrate from facts to vars
2025-04-22 18:20:35 +02:00
Johannes Kirschbauer
a6a79e83a0
treewide(clanLib): rename all occurences of {clan-core,self}.lib to 'clanLib'
2025-04-09 11:32:46 +02:00
Qubasa
dc8bfab65d
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
8b74147721
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
cfeda1f06d
templates: Remove unneeded article
2025-02-27 11:28:48 +00:00
a-kenji
7b0e652a7a
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
cbf8685f6e
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
6c8137d30b
docs: Fix multiple issues with the clan installation guide
2025-02-18 17:40:27 +07:00
Michael Hoang
fd908e18c3
templates: move machine templates
2025-02-17 02:15:42 +00:00
Michael Hoang
61c1943ccc
templates: allow specifying from flake-parts module
2025-02-16 21:10:22 +07:00
Jörg Thalheim
d3bd120a04
fix system.stateVersion
2025-02-14 12:22:26 +07:00
Qubasa
2663a181d0
clan-cli: Fix disko template to not fail because of missing bootloader.
2025-02-10 20:36:55 +07:00
Qubasa
d770830c03
clan-cli: Add test_clan_nix_attrset.py and minor fixups
2025-01-31 16:36:20 +07:00
Qubasa
7545a9a883
clan-cli: Make clan flakes create discover templates from inputs. Add clan flakes list command
2025-01-30 16:24:50 +07:00
Qubasa
e36654daa1
clan: Add autoloaded clanModules from flake inputs. Rename 'directory' to 'self' in buildClan
2025-01-24 12:32:04 +07:00