Jörg Thalheim
f263602fb7
treefmt: upgrade nixfmt options
2024-07-08 16:24:34 +02:00
Jörg Thalheim
5d64442282
gnome.adwaita-icon-theme -> adwaita-icon-theme
2024-07-08 15:59:54 +02:00
Jörg Thalheim
ed93140b27
matrix-synapse: remove obsolete patches
2024-07-08 15:59:54 +02:00
Clan Merge Bot
db07e52d60
update flake lock - 2024-07-08T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/e1174d991944a01eaaa04bc59c6281edca4c0e6e' (2024-06-20)
→ 'github:nix-community/disko/64679cd7f318c9b6595902b47d4585b1d51d5f9e' (2024-07-04)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8' (2024-06-01)
→ 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/35c20ba421dfa5059e20e0ef2343c875372bdcf3' (2024-06-10)
→ 'github:nix-community/nixos-generators/168b220231a70e47cc1f0919048fa5914415fb18' (2024-07-04)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/c1e6a5f7b08f1c9993de1cfc5f15f838bf783b88' (2024-06-20)
→ 'github:nix-community/nixos-images/f8650460d37d9d1820a93ebb7f0db5b6c3621946' (2024-07-04)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/3664857c48feacb35770c00abfdc671e55849be5' (2024-06-27)
→ 'github:NixOS/nixpkgs/60a94e515488e335bd5bce096431d490486915e3' (2024-07-07)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/5e2e9421e9ed2b918be0a441c4535cfa45e04811' (2024-06-23)
→ 'github:Mic92/sops-nix/c184aca4db5d71c3db0c8cbfcaaec337a5d065ea' (2024-07-07)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81' (2024-06-16)
→ 'github:numtide/treefmt-nix/e1d7bd5ec6fc389eb3a90e232c4150338bf6a508' (2024-07-07)
2024-07-08 15:59:54 +02:00
kenji
7090152ebb
Merge pull request 'zerotier-static-peers: add external devices' ( #1698 ) from kenji/clan-core:zerotier-static/add-external into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1698
2024-07-08 07:40:09 +00:00
a-kenji
c4365c22a7
zerotier-static-peers: add external devices
...
Allow the `zerotier-auto-accept` service to add external devices through
their respective `zerotierID`, or their `zerotierIP` in a stateless way.
This is useful to either add mobile phones, that can't be managed
through clan yet, or to add devices of other peoples clans, to connect
them together.
2024-07-08 07:40:09 +00:00
clan-bot
c34fa376f5
Merge pull request 'API: extensions & tests' ( #1699 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-06 16:01:27 +00:00
Johannes Kirschbauer
55c4003a76
Inventory spec: make system optional
2024-07-06 17:56:22 +02:00
Johannes Kirschbauer
edcc1a5cb2
Test: fixup
2024-07-06 17:51:46 +02:00
Johannes Kirschbauer
44ee831d04
Test: ensure type inference runs on all dataclasses
2024-07-06 17:22:47 +02:00
Johannes Kirschbauer
492a776bde
API Types: treat '_*' as private fields and dont inspect them
2024-07-06 17:22:47 +02:00
Johannes Kirschbauer
1aec155f15
Doc: add conceptual documentation
2024-07-06 17:22:47 +02:00
Johannes Kirschbauer
234704b1f6
buildClan: autoimport configuration.nix & hardware-configuration.nix
2024-07-06 17:22:47 +02:00
Mic92
e81906881b
Merge pull request 'Revert "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"' ( #1710 ) from revert-broken-migration into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1710
2024-07-05 09:48:24 +00:00
clan-bot
97f6f4df17
Merge pull request 'clan-cli tests: remove dynamic inclusion of helpers module' ( #1711 ) from DavHau/clan-core:DavHau-dave into main
2024-07-05 09:43:19 +00:00
DavHau
336e99b2a7
clan-cli tests: remove dynamic inclusion of helpers module
...
Dynamically extending the python path at runtime is bad for developer experience, as this is not understood by the text editor and therefore jump to definition etc. does not work.
-> Better to remove the dynamic inclusion and force developers to specify the import correctly.
2024-07-05 16:38:22 +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
clan-bot
376b1f3939
Merge pull request 'fixtures_flakes.py: remove dead code' ( #1709 ) from DavHau/clan-core:DavHau-dave into main
2024-07-05 09:00:41 +00:00
DavHau
bb1950a4a0
fixtures_flakes.py: remove dead code
2024-07-05 15:55:52 +07:00
clan-bot
07b99450e1
Merge pull request 'devShells: make all shells inherit from default shell' ( #1708 ) from DavHau/clan-core:DavHau-dave into main
2024-07-05 08:06:19 +00:00
DavHau
c9485fb3fd
devShells: make all shells inherit from default shell
...
Currently, important tools from the default shell are lost as soon as select-shell is used to switch to another shell. select-shell itself, for example is missing, which makes it impossible to switch back to another shell.
2024-07-05 15:01:25 +07:00
clan-bot
194956f2fd
Merge pull request 'clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}' ( #1706 ) from DavHau/clan-core:DavHau-rename-clanCore into main
2024-07-04 10:09:17 +00:00
DavHau
18b64f2d0b
clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}
2024-07-04 17:05:37 +07:00
clan-bot
5c7b9aa2a4
Merge pull request 'vars: add generator.runtimeInputs' ( #1705 ) from DavHau/clan-core:DavHau-dave into main
2024-07-04 06:45:32 +00:00
DavHau
10bb3127a1
vars: add generator.runtimeInputs
2024-07-04 13:42:25 +07:00
clan-bot
afe0a37f92
Merge pull request 'reference docs: add missing description fields and enforce it from now on' ( #1704 ) from DavHau/clan-core:DavHau-dave into main
2024-07-04 06:38:15 +00:00
DavHau
97bc973969
reference docs: add missing description fields and enforce it from now on
2024-07-04 13:34:55 +07:00
clan-bot
95dcbe0cd9
Merge pull request 'vars: import by default & fix option rendering' ( #1690 ) from DavHau/clan-core:DavHau-dave into main
2024-07-04 06:15:50 +00:00
DavHau
3de7903317
vars: import by default & fix option rendering
2024-07-04 13:12:29 +07:00
clan-bot
56d5362a7e
Merge pull request 'facts: mention prompt_value in docs for generator.scripts' ( #1703 ) from DavHau/clan-core:DavHau-facts-docs into main
2024-07-04 06:03:34 +00:00
DavHau
841282fb06
facts: mention prompt_value in docs for generator.scripts
2024-07-04 12:59:49 +07:00
clan-bot
60d5390b79
Merge pull request 'move FlakeId to flake id' ( #1701 ) from refactor-machine into main
2024-07-03 16:37:44 +00:00
Jörg Thalheim
9994f3c101
add assertion if FlakeId has wrong value
2024-07-03 18:28:55 +02:00
Jörg Thalheim
a582eb9fd4
don't catch all exceptions when generating facts
2024-07-03 18:28:55 +02:00
Jörg Thalheim
6037ad1ce0
move FlakeId to flake id
...
move FlakeId to flake id
2024-07-03 18:28:55 +02:00
clan-bot
f5831f744c
Merge pull request 'matrix-bot: Add data directory to gitignore' ( #1702 ) from Qubasa/clan-core:Qubasa-matrix-bot into main
2024-07-03 15:37:33 +00:00
Qubasa
698ff9dded
matrix-bot: Move it to clan-infra
2024-07-03 17:33:42 +02:00
Qubasa
fab539d497
matrix-bot: Add data directory to gitignore
2024-07-03 17:33:42 +02:00
clan-bot
2d14238769
Merge pull request 'matrix-bot: Fix incorrect caching of already pinged maintainers' ( #1700 ) from Qubasa/clan-core:Qubasa-matrix-bot into main
2024-07-03 12:27:02 +00:00
Qubasa
e4f1fc1392
matrix-bot: Fix incorrect caching of already pinged maintainers
2024-07-03 14:23:43 +02:00
clan-bot
842d9a360c
Merge pull request 'refactor-machine' ( #1691 ) from refactor-machine into main
2024-07-03 10:48:09 +00:00
clan-bot
a76eab0bd1
Merge pull request 'clanModules: init packages' ( #1697 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-03 10:35:03 +00:00
Jörg Thalheim
2f1dac6962
make machine class now a dataclass
2024-07-03 12:34:43 +02:00
Johannes Kirschbauer
e3f7fefa45
clanModules: init packages
2024-07-03 12:31:53 +02:00
clan-bot
273eba7d23
Merge pull request 'Init single disk' ( #1694 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-03 10:00:28 +00:00
Johannes Kirschbauer
8405b119a5
Fix frontmatter of module
2024-07-03 11:57:15 +02:00
Johannes Kirschbauer
e1fd63bca2
clanModules: init single disk
2024-07-03 11:05:00 +02:00
clan-bot
fa524c9a14
Merge pull request 'matrix-bot: Init git commit summarizer' ( #1693 ) from Qubasa/clan-core:Qubasa-matrix-bot into main
2024-07-02 17:54:05 +00:00
Qubasa
4c28cda5c5
matrix-bot: Working timer
...
matrix-bot: Working timer 2
matrix-bot: nix fmt
2024-07-02 19:49:41 +02:00
Qubasa
379480d564
matrix-bot: Working openai integration
2024-07-02 19:47:38 +02:00