1
0
forked from clan/clan-core
Commit Graph

1497 Commits

Author SHA1 Message Date
9778444706 Revert "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
This reverts commit afbd4a984d.

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
f37379908c fixtures_flakes.py: remove dead code 2024-07-05 15:55:52 +07:00
802f047341 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
afbd4a984d clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking} 2024-07-04 17:05:37 +07:00
d9c5f16e05 add assertion if FlakeId has wrong value 2024-07-03 18:28:55 +02:00
c44a99e304 don't catch all exceptions when generating facts 2024-07-03 18:28:55 +02:00
5b606c035f move FlakeId to flake id
move FlakeId to flake id
2024-07-03 18:28:55 +02:00
0ee79a5fab matrix-bot: Move it to clan-infra 2024-07-03 17:33:42 +02:00
093da22577 matrix-bot: Add data directory to gitignore 2024-07-03 17:33:42 +02:00
c33b3b4807 matrix-bot: Fix incorrect caching of already pinged maintainers 2024-07-03 14:23:43 +02:00
044cf3923e Merge pull request 'refactor-machine' (#1691) from refactor-machine into main 2024-07-03 10:48:09 +00:00
b4698528ef make machine class now a dataclass 2024-07-03 12:34:43 +02:00
186784d0fd
clanModules: init single disk 2024-07-03 11:05:00 +02:00
53c4195932 matrix-bot: Working timer
matrix-bot: Working timer 2

matrix-bot: nix fmt
2024-07-02 19:49:41 +02:00
f6e77f3c1b matrix-bot: Working openai integration 2024-07-02 19:47:38 +02:00
7a888fbbae matrix-bot: Working private room join and better message 2024-07-02 19:47:38 +02:00
c26b7e0a0a matrix-bot: Init working sending and receiving
matrix-bot: Code cleanup

matrix-bot: Code cleanup#

matrix-bot: Code cleanup#

matrix-bot: Ping on review neede

Add .gitignore

Working user ping
2024-07-02 19:47:36 +02:00
ef9b733631 matrix-bot: Add argparse
add mautrix
2024-07-02 19:47:21 +02:00
881196188c matrix-bot: Init git commit summarizer 2024-07-02 19:43:42 +02:00
d6493ed64d
API: tests for module instance update 2024-07-02 16:09:13 +02:00
cc583dd79e simplify clan uri further 2024-07-02 12:52:10 +02:00
6b70792cae Merge pull request 'remove unused multi machine clan urls' (#1687) from Mic92-main into main 2024-07-02 10:26:14 +00:00
e637394370 remove unused multi machine clan urls 2024-07-02 12:20:30 +02:00
d93deacb4b
API: remove performance constraints 2024-07-02 12:15:37 +02:00
16c9aa99a9
API: add performance constraints 2024-07-02 12:07:45 +02:00
1448e593e9 Merge pull request 'machines/machines: drop unused qmp wrapper' (#1683) from Mic92-main into main 2024-07-02 10:01:43 +00:00
815bb336be remove unused MachineParams 2024-07-02 11:57:39 +02:00
5ab22d043d
api: clan Modules add readme content 2024-07-02 11:45:48 +02:00
47010f458c machines/machines: drop unused qmp wrapper 2024-07-02 11:42:02 +02:00
f37d0c746d Merge pull request 'API: migrate add machine to inventory' (#1676) from hsjobeki/clan-core:hsjobeki-main into main 2024-07-02 09:25:01 +00:00
1b7369cf0d
Fix test 2024-07-02 11:21:52 +02:00
f7c80834cb
Inventory persistence improves error resistance 2024-07-02 11:16:54 +02:00
9f484c1d39
API: migrate machines delete and list to inventory 2024-07-02 11:07:11 +02:00
d9ba61c30a clan: implement OSC8 hyperlinks for help output
The name of the terminal help output stays the same to keep
compatibility with legacy terminal implementations.
2024-07-02 08:55:01 +00:00
d27e474b66 drop duplicate empty template 2024-07-02 10:41:55 +02:00
df934334a2
API: migrate add machine to inventory 2024-07-01 21:55:42 +02:00
c678608105
Inventory: add system and sample machine 2024-07-01 21:25:02 +02:00
2e2358d850 introduce minifakeroot that also works on macos 2024-06-27 18:53:10 +02:00
bae0a888c9 make bubblewrap in fact generation optional 2024-06-27 18:23:05 +02:00
ea87166e44 api: add endpoint machine_schema 2024-06-27 16:58:37 +07:00
3777a4cf02
Add toml frontmatter description to jsonschema 2024-06-26 15:10:36 +02:00
fa37d528b3 clan: state add information about the backup command hooks to the help 2024-06-26 08:46:02 +00:00
66d67b18d7
remove module description from json schema 2024-06-25 21:40:04 +02:00
fe21d2edb9
API: add clanModules list and details test 2024-06-25 21:31:44 +02:00
9b0e2a87e8
ClanModules: Add docs and api to retrieve metadata 2024-06-25 21:17:01 +02:00
241cca5b70
Docs: rename clanName to just name 2024-06-25 14:21:53 +02:00
62839b6fa0 clan-cli: Better env jailing in temporary_home 2024-06-25 12:03:44 +02:00
af2ffb7e5e clan: state list improve formatting 2024-06-25 11:50:19 +02:00
3bcaeda737 cli: add command to list state
Add a subcommand to list configured state for a specific machine.

Example:
```
$ clan state list [MACHINE]
```
2024-06-25 09:34:31 +00:00
cd8ec83881 clan: ssh fix typos 2024-06-25 10:32:05 +02:00