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
Johannes Kirschbauer
49c3b78c77
clan-core: add template to impure tests
2024-05-31 16:26:46 +00:00
Johannes Kirschbauer
c7008fd302
clan-core: add clan meta for ui usage
2024-05-31 16:26:46 +00:00
Jörg Thalheim
2c8e231bb2
consistent rename cLAN -> Clan
2024-05-27 13:58:32 +00:00
a-kenji
6128032865
documentation: remove references to Icons for introductory material
...
The icons are not yet used in this path.
This is unneccessary overhead for new users, with no payoff yet.
2024-05-21 11:16:12 +02:00
Qubasa
5a804bc327
clanModule.sshd: Deactivate password auth. Change flake template to every machine having its own disko.nix file.
2024-05-20 19:11:12 +02:00
Qubasa
3ad516f72d
template: Throw error on missing ssh pub key
2024-05-14 18:29:04 +02:00
Qubasa
d2a248ed2d
Renamed machines.md to deploy.md
2024-05-14 15:41:15 +02:00
Qubasa
ecc80556cf
Heavily improve documentation and flake template
2024-05-14 15:41:15 +02:00
Qubasa
aa03d0f877
Fix missing efi and x64 support in template
2024-05-14 15:41:15 +02:00
Qubasa
a60978240c
Fix template. Improve docu. Add disko as default imported module.
2024-05-10 15:39:46 +02:00
a-kenji
658d9ddebc
template: fix disko devices
2024-05-07 22:46:15 +02:00
Qubasa
142a6036fb
Add description field to function-schema
2024-05-02 16:34:25 +02:00
Johannes Kirschbauer
e8e325853d
template: remove invalid enable option for zerotier
2024-04-30 19:37:03 +02:00
Johannes Kirschbauer
1f63c661b1
template: use disko module direcly
2024-04-30 19:16:13 +02:00
Johannes Kirschbauer
da486ae9ec
docs: improve flake-parts configuration
2024-04-16 12:02:44 +02:00
Johannes Kirschbauer
c77c1b05d2
docs: decompose configuration guide
2024-04-13 15:46:38 +00:00
Johannes Kirschbauer
879374daaa
format
2024-04-13 16:29:24 +02:00