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
DavHau
18b64f2d0b
clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}
2024-07-04 17:05:37 +07: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
842d9a360c
Merge pull request 'refactor-machine' ( #1691 ) from refactor-machine into main
2024-07-03 10:48:09 +00:00
Jörg Thalheim
2f1dac6962
make machine class now a dataclass
2024-07-03 12:34:43 +02:00
Johannes Kirschbauer
3227de583f
API: tests for module instance update
2024-07-02 16:09:13 +02:00
Jörg Thalheim
cc3f99bfaa
simplify clan uri further
2024-07-02 12:52:10 +02:00
clan-bot
4d6b84f71c
Merge pull request 'remove unused multi machine clan urls' ( #1687 ) from Mic92-main into main
2024-07-02 10:26:14 +00:00
Jörg Thalheim
ae8cff57aa
remove unused multi machine clan urls
2024-07-02 12:20:30 +02:00
Johannes Kirschbauer
9307ca68eb
API: add performance constraints
2024-07-02 12:07:45 +02:00
clan-bot
6cf0cc491e
Merge pull request 'machines/machines: drop unused qmp wrapper' ( #1683 ) from Mic92-main into main
2024-07-02 10:01:43 +00:00
Jörg Thalheim
54cec7f772
remove unused MachineParams
2024-07-02 11:57:39 +02:00
Johannes Kirschbauer
2996ab5941
api: clan Modules add readme content
2024-07-02 11:45:48 +02:00
Jörg Thalheim
466fac640f
machines/machines: drop unused qmp wrapper
2024-07-02 11:42:02 +02:00
clan-bot
bd7df2a166
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
Johannes Kirschbauer
a71fd47354
Inventory persistence improves error resistance
2024-07-02 11:16:54 +02:00
Johannes Kirschbauer
1efadb5e3d
API: migrate machines delete and list to inventory
2024-07-02 11:07:11 +02:00
a-kenji
ffe6e03705
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
Johannes Kirschbauer
4a61e51afd
API: migrate add machine to inventory
2024-07-01 21:55:42 +02:00
Johannes Kirschbauer
4363544672
Inventory: add system and sample machine
2024-07-01 21:25:02 +02:00
Jörg Thalheim
cb9fbc969b
introduce minifakeroot that also works on macos
2024-06-27 18:53:10 +02:00
Jörg Thalheim
2ed8bba017
make bubblewrap in fact generation optional
2024-06-27 18:23:05 +02:00
DavHau
bc3d17ad06
api: add endpoint machine_schema
2024-06-27 16:58:37 +07:00
a-kenji
a5172b995f
clan: state add information about the backup command hooks to the help
2024-06-26 08:46:02 +00:00
Johannes Kirschbauer
17532e999f
API: add clanModules list and details test
2024-06-25 21:31:44 +02:00
Johannes Kirschbauer
cbb78ca1ae
ClanModules: Add docs and api to retrieve metadata
2024-06-25 21:17:01 +02:00
a-kenji
a6f342db35
clan: state list improve formatting
2024-06-25 11:50:19 +02:00
a-kenji
69e826fc17
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
a-kenji
9d394baca5
clan: ssh fix typos
2024-06-25 10:32:05 +02:00
Qubasa
642b60cd98
clan-cli: Acutally test SecretStore for age and password-store.
2024-06-24 21:41:16 +02:00
Qubasa
7b0e1b437b
clan-cli: Add validity check for age key generation
2024-06-21 15:07:53 +02:00
Qubasa
7cd26af66e
clan-cli: Disable stack trace on KeyboardInterrupt
2024-06-21 13:11:33 +02:00
Johannes Kirschbauer
c4705ef8b6
UI: display block devices
2024-06-19 11:36:19 +02:00
DavHau
4db2e8303f
refactor: rename clanCore -> clan.core
2024-06-18 18:32:40 +07:00
Johannes Kirschbauer
97d8dd9816
API: init methods: hw_generate, dns discovery
2024-06-16 16:29:18 +02:00
Johannes Kirschbauer
0826c2bce0
Docs: update machine hardware config instructions
2024-06-15 22:27:46 +02:00
Johannes Kirschbauer
ec1eab7e14
CLI: init hw-generate command
2024-06-15 21:31:23 +02:00
Johannes Kirschbauer
759ace4f74
API: init op_key, improve seralisation & signature typing
2024-06-15 11:32:09 +02:00
samrose
ca784a632d
fix: trying run_no_stdout with original show-config
2024-06-13 18:44:50 -04:00
samrose
74ebbe77f3
fix: formatting cli command correctly
2024-06-13 12:59:26 -04:00
samrose
7c68030300
fix: outside of direnv clan-li warns this is going to be deprecated
2024-06-13 12:44:48 -04:00
Johannes Kirschbauer
72d99bd0f7
API: init icon resolve
2024-06-12 13:21:39 +02:00
Johannes Kirschbauer
74538f69a9
Webview: add form handling for create clan
2024-06-11 19:20:40 +02:00
Johannes Kirschbauer
b0845c050c
API: improve type & class construction
2024-06-11 19:20:40 +02:00
Johannes Kirschbauer
6532e2acff
Webview: init 'open clan' workflow
2024-06-11 16:28:02 +02:00
Johannes Kirschbauer
81b1487057
api: refactor create flake into create clan
2024-06-11 12:11:29 +02:00
clan-bot
18506310ff
Merge pull request 'Expand backup and restore capabilities w.r.t. postgresql.' ( #1582 ) from synapse into main
2024-06-10 13:24:08 +00:00
DavHau
8eafd43fd3
tests: add test for creating machine on minimal clan
2024-06-09 21:54:04 -07:00