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
Johannes Kirschbauer
440122d470
Fix wrong unit tests
2024-08-03 12:05:09 +02:00
Jörg Thalheim
45124bf324
satisfy treefmt
2024-07-24 22:03:12 +02:00
Jörg Thalheim
8ccd8af3cc
Merge remote-tracking branch 'origin/main' into rework-installation
2024-07-24 21:58:57 +02:00
clan-bot
49ace8a765
Merge pull request 'Inventory improvements' ( #1795 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-24 11:23:16 +00:00
Johannes Kirschbauer
1b52dca96b
Fix unit tests
2024-07-24 13:15:08 +02:00
DavHau
1b5bfa7af4
flake.nix: remove unnecessary newline
2024-07-24 17:35:55 +07:00
Johannes Kirschbauer
d10405908b
Fix minimal template
2024-07-24 10:34:11 +02:00
Jörg Thalheim
5e40346c9a
add .envrc
2024-07-22 16:08:59 +02:00
Jörg Thalheim
fabfba77cf
rework installation template based on received feedback
2024-07-22 16:08:59 +02:00
Jörg Thalheim
f04ed457db
cli: default template url should come from the package itself rather than our gitea
...
This allow easier testing and also forks.
2024-07-22 08:22:58 +02:00
Jörg Thalheim
faf0528be2
improve lsblk instructions
2024-07-21 16:39:01 +02:00
Johannes Kirschbauer
40d71f060e
Inventory: only apply if settings.json exists
2024-07-15 19:14:45 +02:00
Jörg Thalheim
4483b7c55a
add flake-parts template
2024-07-15 15:02:36 +00:00
Jörg Thalheim
52bc590c07
templates/new-clan: share disko configuration between machines
2024-07-15 16:39:23 +02:00
Jörg Thalheim
8c5b9dfc08
templates/new-clan: share disko configuration between machines
2024-07-15 16:17:05 +02:00
DavHau
79d6f8e893
Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
...
This reverts commit 71009f80d8 .
workaround upstream bug: https://github.com/NixOS/nixpkgs/issues/324802
2024-07-05 19:29:01 +07:00
Jörg Thalheim
71009f80d8
Revert "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
...
This reverts commit 18b64f2d0b .
The old configuration cannot be updated like this:
eve] error:
[eve] … while calling the 'head' builtin
[eve] at /nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/lib/attrsets.nix:1575:11:
[eve] 1574| || pred here (elemAt values 1) (head values) then
[eve] 1575| head values
[eve] | ^
[eve] 1576| else
[eve]
[eve] … while evaluating the attribute 'value'
[eve] at /nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/lib/modules.nix:809:9:
[eve] 808| in warnDeprecation opt //
[eve] 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
[eve] | ^
[eve] 810| inherit (res.defsFinal') highestPrio;
[eve]
[eve] … while evaluating the option `system.build.toplevel':
[eve]
[eve] … while evaluating definitions from `/nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/nixos/modules/system/activation/top-level.nix':
[eve]
[eve] … while evaluating the option `assertions':
[eve]
[eve] … while evaluating definitions from `/nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/nixos/modules/system/boot/systemd.nix':
[eve]
[eve] … while evaluating the option `systemd.services':
[eve]
[eve] … while evaluating definitions from `/nix/store/kpzcdgndym0qm1w490mjvk9c2qmz03h5-source/nixosModules/clanCore/zerotier':
[eve]
[eve] … while evaluating the option `clan.core.networking.zerotier.networkId':
[eve]
[eve] (stack trace truncated; use '--show-trace' to show the full, detailed trace)
[eve]
[eve] error: A definition for option `clan.core.networking.zerotier.networkId' is not of type `null or string'. Definition values:
[eve] - In `/nix/store/kpzcdgndym0qm1w490mjvk9c2qmz03h5-source/nixosModules/clanCore/networking.nix':
[eve] {
[eve] _type = "override";
[eve] content = "267efd4a15b69623";
[eve] priorit
2024-07-05 11:16:05 +02:00
DavHau
18b64f2d0b
clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}
2024-07-04 17:05:37 +07:00
Jörg Thalheim
d7a17a2ada
drop duplicate empty template
2024-07-02 10:41:55 +02:00
Johannes Kirschbauer
25024aba95
Add settings.json back
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
cd6a517e0d
Template: make inventory disabled by default
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
7f897e29d6
Remove useless settings.json
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
1ee95ba864
Template: use inventory
2024-06-25 12:23:29 +00:00
DavHau
419ee46c88
fix: remove IFD in nix flake show
2024-06-17 15:06:25 +07:00
Johannes Kirschbauer
0826c2bce0
Docs: update machine hardware config instructions
2024-06-15 22:27:46 +02:00
clan-bot
18506310ff
Merge pull request 'Expand backup and restore capabilities w.r.t. postgresql.' ( #1582 ) from synapse into main
2024-06-10 13:24:08 +00:00
DavHau
f074a14247
templates: add minimal clan flake template for (G)UI
2024-06-08 17:00:18 -07:00
Jörg Thalheim
f5979d80a8
change clan url to gitea archive url
2024-06-06 11:11:48 +02:00