Commit Graph

4232 Commits

Author SHA1 Message Date
a-kenji
b4eb8eda20 clanModules/mumble: remove default user 2024-09-26 19:41:30 +02:00
clan-bot
2311f9b88e Merge pull request 'clanModules/murmur: improve secret loading logic' (#2174) from kenji/clan-core:kenji-mumble-improvements into main 2024-09-26 14:45:00 +00:00
a-kenji
74c0d1dd08 clanModules/murmur: improve secret loading logic 2024-09-26 16:38:18 +02:00
clan-bot
71d8d01fdd Merge pull request 'localsend: Add necessary option ipv4Addr' (#2173) from Qubasa/clan-core:Qubasa-main into main 2024-09-26 13:28:24 +00:00
Qubasa
d0542f04fe localsend: Add necessary option ipv4Addr 2024-09-26 15:22:05 +02:00
clan-bot
51a578368a Merge pull request 'Docs: authorizedKeys is a list, small fixups' (#2169) from hsjobeki/clan-core:hsjobeki-docs/inventory into main 2024-09-25 12:48:36 +00:00
Johannes Kirschbauer
bc8d788730 Docs: harmonize titles 2024-09-25 14:06:55 +02:00
Johannes Kirschbauer
fd1b727082 Docs: authorizedKeys is a list 2024-09-25 14:06:55 +02:00
clan-bot
381d5f9f70 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
96b972d91d Docs: fixup links 2024-09-25 13:46:12 +02:00
Johannes Kirschbauer
da5bda4c82 Docs: autogenerate inventory & buildClan model 2024-09-25 13:38:10 +02:00
Johannes Kirschbauer
2c4981e2a7 Docs: restructure apply diataxis 2024-09-25 13:37:35 +02:00
Johannes Kirschbauer
21343e4032 Docs/inventory: add documentation for inventory attributes 2024-09-25 13:36:33 +02:00
Johannes Kirschbauer
053082c932 Docs/buildClan: add documentation descriptions 2024-09-25 13:33:46 +02:00
clan-bot
728cb60295 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
1b0b111f03 clan flash: Remove root requirement for flash, add a flash-template 2024-09-24 13:42:21 +02:00
clan-bot
cef290b135 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
d1952cbed7 matrix-synapse: fix race condition 2024-09-24 12:52:53 +02:00
Jörg Thalheim
419da827ae container driver: add wait_until_succeeds 2024-09-24 12:52:53 +02:00
Jörg Thalheim
44e17e9ee6 fix zfs latest again 2024-09-24 12:52:53 +02:00
Jörg Thalheim
afbac7f08c bump flakes 2024-09-24 12:52:53 +02:00
Jörg Thalheim
4936db0187 fix container test after systemd update 2024-09-24 12:52:53 +02:00
Jörg Thalheim
0698ecbf29 docs: renaming "Include Machines" to "Adding Machines" 2024-09-24 12:52:53 +02:00
Jörg Thalheim
5b878ac8ac use packaged nixos-facter in generate_hardware_info 2024-09-24 11:38:33 +02:00
Jörg Thalheim
bd383a9f35 add nixos-facter to flash installer 2024-09-24 11:38:33 +02:00
clan-bot
f4949b26c4 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
d4e8f88185 clan-cli: Move clan machines import to clan machines create 2024-09-23 17:11:48 +02:00
clan-bot
26f8779787 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
f368493ce7 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
04be7c9348 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
77b758d88e 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
b9534e6326 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
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 Merge Bot
e3718e69a1 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
5018a6612c 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
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