Clan Merge Bot
3c10fb29dc
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-bot
32f70d201c
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
5e53a71abf
Docs: fix flake-parts nav entry
2024-09-22 18:52:22 +02:00
Johannes Kirschbauer
917dc2a7df
Docs: clarify inventory statement
2024-09-22 18:46:39 +02:00
Johannes Kirschbauer
8e7e346b28
Docs: add top-level index, refactor according to diataxis
2024-09-22 18:39:13 +02:00
Mic92
25ec3308d1
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
3a87d5a6ec
f2fs: enable compression
2024-09-20 15:52:11 +00:00
clan-bot
a389f2edf6
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
3d1f97f2a4
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
bbd590cbbe
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
0324f4d4b8
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
af54120466
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
b4fb4f180b
rename hw-generate to update-hardware-config
2024-09-20 13:42:18 +02:00
clan-bot
bef19592cd
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
501ade7de7
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
dcb759b0dc
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
89d39186ee
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
78df6cf757
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
d26d7c4bba
clanModules/state-version: use default of vars
2024-09-18 14:07:30 +02:00
clan-bot
8b49c4ae38
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
cb1025d9da
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
cfa1fca76e
Inventory: docs fixup
2024-09-18 08:31:00 +02:00
Johannes Kirschbauer
61efab995a
Inventory: fixup imports to extraModules
2024-09-18 08:27:39 +02:00
clan-bot
a10bb59169
Merge pull request 'vars: allow setting a default for values' ( #2144 ) from DavHau/clan-core:DavHau-dave into main
2024-09-17 19:17:34 +00:00
DavHau
1c56ef5725
vars: allow setting a default for values
2024-09-17 21:11:38 +02:00
clan-bot
0012304d7c
Merge pull request 'vars: generate vars for clan install' ( #2143 ) from DavHau/clan-core:DavHau-dave into main
2024-09-17 18:47:56 +00:00
DavHau
ec109e7f67
vars: generate vars for clan install
...
fixes #2087
2024-09-17 20:41:39 +02:00
clan-bot
3ac84c53ee
Merge pull request 'vars: generate proper commit messages' ( #2142 ) from DavHau/clan-core:DavHau-dave into main
2024-09-17 18:29:00 +00:00
DavHau
cf47c1d51a
vars: generate proper commit messages
...
fixes #2126
2024-09-17 20:22:18 +02:00
clan-bot
f380b874e9
Merge pull request 'docs/guides: add getting started guide to guides overview' ( #2140 ) from kenji/clan-core:kenji-update/guide into main
2024-09-16 21:35:17 +00:00
a-kenji
de835e4808
docs/guides: add getting started guide to guides overview
2024-09-16 23:21:02 +02:00
clan-bot
3381e4bedd
Merge pull request 'Inventory: docs improvements' ( #2132 ) from hsjobeki/clan-core:hsjobeki-inventory-docs into main
2024-09-16 20:58:28 +00:00
Johannes Kirschbauer
18fa2cc8a4
Inventory: fix doc typo
2024-09-16 22:52:40 +02:00
Johannes Kirschbauer
7a4028660f
Inventory: fix eval tests
2024-09-16 22:52:40 +02:00
Johannes Kirschbauer
56b76f9827
Inventory: docs improvements
2024-09-16 22:52:40 +02:00
kenji
ff9adee375
Merge pull request 'docs: update readme for irc bridge' ( #2138 ) from kenji/clan-core:readme/update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2138
2024-09-16 20:44:15 +00:00
a-kenji
be1a10c1b5
docs: update readme for irc bridge
2024-09-16 20:44:15 +00:00
clan-bot
c83ff0f58f
Merge pull request 'config: remove gitmodules file' ( #2136 ) from kenji/clan-core:kenji-config/rm/gitmodules into main
2024-09-16 20:17:39 +00:00
a-kenji
1476901eda
config: remove gitmodules file
2024-09-16 22:10:13 +02:00
clan-bot
920d83f0e9
Merge pull request 'vars/tests: fix nix eval triggering git concurrent access' ( #2135 ) from DavHau/clan-core:DavHau-dave into main
2024-09-16 17:34:25 +00:00
DavHau
9ffc3da52b
vars/tests: fix nix eval triggering git concurrent access
...
Prevents this error: Another git process seems to be running in this repository
2024-09-16 18:58:22 +02:00
clan-bot
cc878d3a9e
Merge pull request 'clan-cli: Init clan machines import' ( #2134 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-16 16:21:19 +00:00
Qubasa
0f0a8825e1
clan-cli: Init clan machines import
2024-09-16 18:15:55 +02:00
clan-bot
6cd07d27b9
Merge pull request 'templates: don't explicitly import hardware-configurations' ( #2133 ) from kenji/clan-core:kenji-templates/modernize/new-clan into main
2024-09-16 15:31:38 +00:00
a-kenji
9cff324654
templates: don't explicitly import hardware-configurations
2024-09-16 17:21:50 +02:00
hsjobeki
ff64bcfb52
Merge pull request 'Inventory: improve usability from nix' ( #2116 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2116
2024-09-16 13:50:03 +00:00
Johannes Kirschbauer
a13de96bb2
Inventory: docs improvements
2024-09-16 13:50:03 +00:00
Johannes Kirschbauer
c82c70e4a9
Inventory: check extraModules serilizable
2024-09-16 13:50:03 +00:00
kenji
9b0487edc0
Merge pull request 'CLI: fix @api.register cli typechecks' ( #2127 ) from hsjobeki/clan-core:cli-api-typechecks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2127
2024-09-16 12:52:28 +00:00
Johannes Kirschbauer
0addba0d20
Update: inventory classes check
2024-09-16 12:52:28 +00:00