Johannes Kirschbauer
579d24a828
Docs: authorizedKeys is a list
2024-09-25 14:06:55 +02:00
clan-bot
7b59657e10
Merge pull request 'Docs: refactor general structure' ( #2168 ) from hsjobeki/clan-core:hsjobeki-docs/inventory into main
2024-09-25 11:52:34 +00:00
Johannes Kirschbauer
a67fb750cf
Docs: fixup links
2024-09-25 13:46:12 +02:00
Johannes Kirschbauer
aa30b17201
Docs: autogenerate inventory & buildClan model
2024-09-25 13:38:10 +02:00
Johannes Kirschbauer
60ddd3369e
Docs: restructure apply diataxis
2024-09-25 13:37:35 +02:00
Johannes Kirschbauer
f40393f82a
Docs/inventory: add documentation for inventory attributes
2024-09-25 13:36:33 +02:00
Johannes Kirschbauer
79b20cf3d9
Docs/buildClan: add documentation descriptions
2024-09-25 13:33:46 +02:00
clan-bot
b481cca17b
Merge pull request 'clan flash: Remove root requirement for flash, add a flash-template' ( #2165 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-24 11:48:57 +00:00
Qubasa
945c491d05
clan flash: Remove root requirement for flash, add a flash-template
2024-09-24 13:42:21 +02:00
clan-bot
2d9d18eb43
Merge pull request 'add nixos-facter to flash installer' ( #2149 ) from flash-installer into main
2024-09-24 10:59:27 +00:00
Jörg Thalheim
a4a62211df
matrix-synapse: fix race condition
2024-09-24 12:52:53 +02:00
Jörg Thalheim
31144c88e8
container driver: add wait_until_succeeds
2024-09-24 12:52:53 +02:00
Jörg Thalheim
17dbf07be7
fix zfs latest again
2024-09-24 12:52:53 +02:00
Jörg Thalheim
858631a30e
bump flakes
2024-09-24 12:52:53 +02:00
Jörg Thalheim
6fef7c9aa7
fix container test after systemd update
2024-09-24 12:52:53 +02:00
Jörg Thalheim
cd67a5dc53
docs: renaming "Include Machines" to "Adding Machines"
2024-09-24 12:52:53 +02:00
Jörg Thalheim
d0ed48284b
use packaged nixos-facter in generate_hardware_info
2024-09-24 11:38:33 +02:00
Jörg Thalheim
2b1ab136c7
add nixos-facter to flash installer
2024-09-24 11:38:33 +02:00
clan-bot
d387757611
Merge pull request 'clan-cli: Move clan machines import to clan machines create' ( #2163 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-23 15:18:21 +00:00
Qubasa
a27880a65e
clan-cli: Move clan machines import to clan machines create
2024-09-23 17:11:48 +02:00
clan-bot
e1196737f2
Merge pull request 'Automatic flake update - nixos-images - 2024-09-23T00:00+00:00' ( #2158 ) from flake-update-nixos-images-2024-09-23 into main
2024-09-23 00:46:29 +00:00
clan-bot
94b88db203
Merge pull request 'Automatic flake update - treefmt-nix - 2024-09-23T00:00+00:00' ( #2162 ) from flake-update-treefmt-nix-2024-09-23 into main
2024-09-23 00:37:02 +00:00
clan-bot
dddf71daf5
Merge pull request 'Automatic flake update - sops-nix - 2024-09-23T00:00+00:00' ( #2161 ) from flake-update-sops-nix-2024-09-23 into main
2024-09-23 00:33:42 +00:00
clan-bot
16045ba487
Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-09-23T00:00+00:00' ( #2157 ) from flake-update-nixos-facter-modules-2024-09-23 into main
2024-09-23 00:27:35 +00:00
Clan Merge Bot
a5ee4430da
update flake lock - treefmt-nix - 2024-09-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/9fb342d14b69aefdf46187f6bb80a4a0d97007cd' (2024-09-02)
→ 'github:numtide/treefmt-nix/ee41a466c2255a3abe6bc50fc6be927cdee57a9f' (2024-09-19)
2024-09-23 00:00:43 +00:00
Clan Merge Bot
3a89e7d8d7
update flake lock - sops-nix - 2024-09-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/f30b1bac192e2dc252107ac8a59a03ad25e1b96e' (2024-09-13)
→ 'github:Mic92/sops-nix/e2d404a7ea599a013189aa42947f66cede0645c8' (2024-09-16)
2024-09-23 00:00:40 +00:00
Clan Merge Bot
95ac28bb79
update flake lock - nixos-images - 2024-09-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-images':
'github:nix-community/nixos-images/51c98a9f328e7aad81d8aa048f38e4e5c86d3389' (2024-09-07)
→ 'github:nix-community/nixos-images/776ee2484dcf6c8a667b1b918981493ee976dba9' (2024-09-22)
2024-09-23 00:00:04 +00:00
Clan Merge Bot
2b33000ce7
update flake lock - nixos-facter-modules - 2024-09-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/d78cd60464df85279cbdddaba0e3d8d8ee6ab00c' (2024-09-13)
→ 'github:numtide/nixos-facter-modules/6eb13404bbe40b9a5ef9984792b27933658571fa' (2024-09-20)
2024-09-23 00:00:02 +00:00
clan-bot
36ac9ef31a
Merge pull request 'Docs: add top-level index, refactor according to diataxis' ( #2156 ) from hsjobeki/clan-core:hsjobeki-docs/inventory into main
2024-09-22 16:58:35 +00:00
Johannes Kirschbauer
37435acd79
Docs: fix flake-parts nav entry
2024-09-22 18:52:22 +02:00
Johannes Kirschbauer
30711a3d6d
Docs: clarify inventory statement
2024-09-22 18:46:39 +02:00
Johannes Kirschbauer
55526b1fdb
Docs: add top-level index, refactor according to diataxis
2024-09-22 18:39:13 +02:00
Mic92
350ed0b1fe
Merge pull request 'f2fs: enable compression' ( #2152 ) from f2fs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2152
2024-09-20 15:52:11 +00:00
Jörg Thalheim
450afb883a
f2fs: enable compression
2024-09-20 15:52:11 +00:00
clan-bot
5dc01b6213
Merge pull request 'docs: Rename guides to manual, Rename reference to options, add secure boot chapter to manual. Add secrets chapter to manual.' ( #2154 ) from Qubasa/clan-core:main into main
2024-09-20 14:59:42 +00:00
Qubasa
036cd710e1
docs: Rename guides to manual, Rename reference to options, add secure boot chapter to manual. Add secrets chapter to manual.
2024-09-20 16:52:52 +02:00
clan-bot
2f50ccc77f
Merge pull request 'vars/sops: improve shared secrets, switching backend' ( #2151 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-09-20 13:18:01 +00:00
DavHau
e49d1f0127
vars/sops: improve shared secrets, switching backend
...
When a second machine checks for a shared secret, now the exists() call returns negative and only when updating the secrets for that machine, the machine is added to the sops receivers.
Also throw proper errors when the user switches backends without cleaning the files first.
2024-09-20 15:06:54 +02:00
Mic92
77ac85df57
Merge pull request 'rename hw-generate to update-hardware-config' ( #2150 ) from rename-update-hardware-command into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2150
2024-09-20 12:13:39 +00:00
Jörg Thalheim
8a8b473236
rename hw-generate to update-hardware-config
2024-09-20 13:42:18 +02:00
clan-bot
8e1734345b
Merge pull request 'vars: implement migration' ( #2148 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-09-19 16:04:39 +00:00
DavHau
0a8b7f38a8
vars: implement migration
...
Migrating generated files from the facts subsystem to the vars subsystem is now possible.
HowTo:
1. declare `clan.core.vars.generators.<generator>.migrateFact = my_service` where `my_service` refers to a service from `clan.core.facts.services`
2. run `clan vers generate your_machine` or `clan machines update your_machine`
Vars will only be migrated for a generator if:
1. The facts service specified via `migrateFact` does exist
2. None of the vars to generate exist yet
3. All public var names exist in the public facts store
4. All secret var names exist in the secret fact store
If the migration is deemed possible, the generator script will not be executed. Instead the files from the public or secret facts store are read and stored into the corresponding vars store
2024-09-19 17:57:03 +02:00
clan-bot
733c44b7b6
Merge pull request 'vars/generate: improve output when vars are updated' ( #2147 ) from DavHau/clan-core:DavHau-dave into main
2024-09-18 15:03:09 +00:00
DavHau
01c833f2bc
vars/generate: improve output when vars are updated
...
fixes #2076
- print old and new value if possible
- also inform the user if something hasn't changed
2024-09-18 16:57:01 +02:00
clan-bot
1f07469923
Merge pull request 'clanModules/state-version: use default of vars' ( #2146 ) from kenji/clan-core:kenji-modules/state-version into main
2024-09-18 12:16:34 +00:00
a-kenji
763554cf8a
clanModules/state-version: use default of vars
2024-09-18 14:07:30 +02:00
clan-bot
55cfea9285
Merge pull request 'Inventory: docs fixup' ( #2145 ) from hsjobeki/clan-core:hsjobeki-docs/inventory into main
2024-09-18 06:39:17 +00:00
clan-bot
11df6bb019
Merge pull request 'Inventory: fixup imports to extraModules' ( #2141 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-18 06:35:06 +00:00
Johannes Kirschbauer
9a24b1ee16
Inventory: docs fixup
2024-09-18 08:31:00 +02:00
Johannes Kirschbauer
9bee82d21e
Inventory: fixup imports to extraModules
2024-09-18 08:27:39 +02:00