Jörg Thalheim
0b1c12d2e5
flash-installer: disable state-version
...
We cannot have vars in here because it breaks:
```
clan flash write --flake https://git.clan.lol/clan/clan-core/archive/main.tar.gz --ssh-pubkey $HOME/.ssh/id_ed25519.pub --keymap us --language en_US.UTF-8 --disk main /dev/sdb flash-installer
```
2025-08-31 15:26:04 +02:00
DavHau
a364b5ebf3
API/list_service_instances: add module metadata ( #5023 )
...
@hsjobeki
Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com >
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5023
2025-08-29 13:14:19 +00:00
Jörg Thalheim
00f9d08a4b
remove diskId from existing templates
...
we don't have a replacement yet, but at least this will work.
2025-08-27 15:24:59 +02:00
lassulus
fb094e8f3b
add tor network to default template
2025-08-20 14:24:43 +02:00
pinpox
35e5f4a42a
Remove clanModules
...
- Removes clanModules in favor of the new clanServices
- Adds a warning and link to the migration guide
2025-08-14 12:02:40 +02:00
Qubasa
743f05a1b5
templates: Fix missing export of clan = clan.config;
2025-08-12 13:50:09 +07:00
a-kenji
b6bccd218a
templates(flake-parts-minimal): Fix erroneous removal
2025-08-09 00:56:21 +02:00
a-kenji
6cd75f5abd
templates(default): Enable modern GNOME options by default
...
Closes : #4474
2025-07-24 22:07:46 +02:00
DavHau
38955f763f
clan default template: add inputs to specialArgs
2025-07-21 18:39:51 +07:00
hsjobeki
341f444fa0
revert bd3861c580
...
revert Merge pull request 'Remove clanModules/*' (#4202 ) from remove-modules into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4202
See: https://git.clan.lol/clan/clan-core/issues/4365
Not all modules are migrated.
If they are not migrated, we need to write migration docs and please display the link to the migration docs
2025-07-15 17:51:36 +00:00
pinpox
0e53499f40
Remove clanModules
2025-07-15 11:53:32 +02:00
Johannes Kirschbauer
6062d065c2
Templates/flake-parts: remove machines
...
Users create machines if they need them
2025-07-12 16:59:16 +02:00
Johannes Kirschbauer
5d4118354e
Templates: remove disko.nix from all templates
2025-07-12 16:58:52 +02:00
Johannes Kirschbauer
2f645983f2
Templates: remove shared.nix
...
- user-password is now part of the new 'users' module (https://docs.clan.lol/reference/clanServices/users/ )
- setting 'users.users.user' is not needed and also part of the 'users' module
- services.avahi.enable = true; is not strictly needed can become part of an mdns guide, but shouldnt be part of the default template
2025-07-12 16:58:02 +02:00
Johannes Kirschbauer
81419cfb71
templates: add example how to add inventory.machines
2025-07-12 14:49:27 +02:00
Johannes Kirschbauer
33b47604ee
Templates: keep clan.nix in sync between default and flake-parts
2025-07-11 16:42:20 +02:00
Johannes Kirschbauer
b47c85fdaa
Modules/users: add isNormalUser true
...
NormalUsers get:
- Home directory
- Can login
This is expected for users created through this module. We can make it configurable if the use arises
2025-07-11 16:32:16 +02:00
Johannes Kirschbauer
ac745a1740
Templates/flake-parts: consistent default clan
2025-07-11 16:19:01 +02:00
Johannes Kirschbauer
85943e22a3
Template/docs: improve gnome example
2025-07-11 14:56:40 +02:00
Johannes Kirschbauer
a1e9195cd2
Templates/minimal: move name to flake.nix
2025-07-11 14:53:41 +02:00
Johannes Kirschbauer
4f98f8c2f0
templates: remove duplicate logic, update gnome template
2025-07-11 08:57:06 +02:00
Johannes Kirschbauer
5e8faa144d
templates/flake-parts: remove importing clanModules
2025-07-11 08:46:21 +02:00
hsjobeki
e10b2fd954
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
90704eb452
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
6e58d189e5
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
672838e2a0
Templates/default: remove predefined machines
2025-07-08 10:05:35 +02:00
Johannes Kirschbauer
e39a83c849
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
47016de802
templates: add .gitignore files to all templates
2025-07-07 15:50:00 +00:00
Johannes Kirschbauer
91f7f21b0c
Templates: remove 'minimal-flake-parts'
2025-07-07 15:50:00 +00:00
Johannes Kirschbauer
5d6a0c9883
templates: rename 'new_clan' to default
2025-07-07 15:50:00 +00:00
Johannes Kirschbauer
1c33f30135
api/clan: rename 'show_clan_meta' -> 'get_clan_details'
2025-07-07 10:41:00 +02:00
Johannes Kirschbauer
072654abd6
Templates: fix invalid mock flake
2025-07-06 16:43:38 +02:00
pinpox
9a293f790e
Add state-version nixos option
...
This reverts commit 8f6f06bef3 .
2025-07-04 11:54:12 +02:00
Johannes Kirschbauer
8f6f06bef3
Revert "Merge pull request 'Make state-version generation an clan option' ( #4056 ) from state-version-option into main"
...
This reverts commit 8a7b6d13b5 , reversing
changes made to 7a4eeb5b16 .
2025-07-01 18:15:11 +02:00
Johannes Kirschbauer
667cee0f6e
buildClan: replace all usages by lib.clan
2025-07-01 11:56:31 +02:00
pinpox
4709e8e2f6
Remove state-version module from tests
2025-06-30 12:58:05 +02:00
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