a-kenji
1694f8b3a8
pkgs/clan: Fix typos
2025-02-02 23:20:39 +07:00
lassulus
c746b84a6f
test_api_dataclass_compat: exlcude flake.py
2025-02-02 11:52:36 +00:00
lassulus
fe2cfd3b37
clan-cli: add a Flake class with caching
2025-02-02 11:52:36 +00:00
lassulus
26143b4b5b
clan-cli: add ipython to dev dependencies
2025-02-02 11:52:36 +00:00
lassulus
90fbe807d6
clan-cli vars upload: add optional --directory
2025-02-02 11:52:36 +00:00
Jörg Thalheim
3ab497afa9
buildClan/tests: make test_only_required minimal again
2025-02-02 10:40:50 +00:00
kenji
e03ee4407c
Merge pull request 'clanModules/user-password: Add inventory feature' ( #2796 ) from kenji/clan-core:feat-inventory/user-password into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2796
2025-02-02 10:35:48 +00:00
a-kenji
c7e9bfbefe
clanModules/root-password: Add inventory feature
2025-02-02 10:35:48 +00:00
kenji
83169dc93e
Merge pull request 'clanModules/root-password: Add inventory feature' ( #2795 ) from kenji/clan-core:feat-inventory/root-password into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2795
2025-02-02 10:32:58 +00:00
a-kenji
23360377cf
clanModules/root-password: Add inventory feature
2025-02-02 10:32:58 +00:00
Jörg Thalheim
07bd686850
legacyPackages.evalTests-build-clan: fix comment to run tests
2025-02-02 10:30:26 +00:00
Jörg Thalheim
8634087309
Do not deprecate directory argument
2025-02-02 10:30:26 +00:00
a-kenji
fe6cca3c47
clanModules/root-password: Fix root-password persistence
2025-02-02 16:36:19 +07:00
Qubasa
1fb676affb
clan-cli: Fix clan flakes create not working in nix shell
2025-02-01 12:16:20 +07:00
Mic92
1248adfd45
Merge pull request 'container test with writeable nix store' ( #2655 ) from container-test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2655
2025-01-31 11:51:00 +00:00
Jörg Thalheim
5d2e3b2b21
container test: with writeable nix store
2025-01-31 11:51:00 +00:00
Qubasa
0f4cdd31cd
clan-cli: Make clan machines create use templating.py
2025-01-31 18:07:48 +07:00
Jörg Thalheim
0e3e6c29c7
remove createFile legacy alias from vars/interface
...
it's hard to filter this out in nix. So instead we just drop this
option.
2025-01-31 10:29:35 +00:00
Qubasa
d770830c03
clan-cli: Add test_clan_nix_attrset.py and minor fixups
2025-01-31 16:36:20 +07:00
Qubasa
57d82c9315
webview-ui: Fix create_clan js call
2025-01-30 17:26:41 +07:00
Qubasa
e96bd0816f
clan-cli: Expand type_to_dict to support NewType and tuple types in dataclasses
2025-01-30 17:19:31 +07:00
Qubasa
7545a9a883
clan-cli: Make clan flakes create discover templates from inputs. Add clan flakes list command
2025-01-30 16:24:50 +07:00
Qubasa
c212538ac7
clan: Remove unecessary templates and modules interface
2025-01-29 19:24:15 +07:00
Qubasa
839bb17284
clan-cli: Add from_host function to Host class
2025-01-29 19:18:02 +07:00
Qubasa
4a144e77a4
clan-cli: Add ruff to devShell again. Add missing type annotations
2025-01-29 19:16:34 +07:00
Qubasa
6e47f1ee96
Add importable clan.modules and clan.template interfaces without implementation
2025-01-27 17:35:42 +07:00
Clan Merge Bot
1ba8090188
update flake lock - treefmt-nix - 2025-01-27T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/d1ed3b385f8130e392870cfb1dbfaff8a63a1899?narHash=sha256-uPNWcYbhY2fjY3HOfRCR5jsfzdzemhfxLSxwjXYXqNc%3D' (2025-01-17)
→ 'github:numtide/treefmt-nix/f2cc121df15418d028a59c9737d38e3a90fbaf8f?narHash=sha256-5An1wq5U8sNycOBBg3nsDDgpwBmR9liOpDGlhliA6Xo%3D' (2025-01-21)
2025-01-27 00:00:24 +00:00
Luis Hebendanz
974279eddd
Merge pull request 'clan: Add autoloaded clanModules from flake inputs. Rename 'directory' to 'self' in buildClan' ( #2782 ) from Qubasa/clan-core:dynamic_clanModulesv2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2782
Reviewed-by: lassulus <clanlol@lassul.us >
2025-01-24 07:29:14 +00:00
Qubasa
e36654daa1
clan: Add autoloaded clanModules from flake inputs. Rename 'directory' to 'self' in buildClan
2025-01-24 12:32:04 +07:00
Johannes Kirschbauer
559a95cdde
Docs: change navigation to use tabs again
2025-01-23 13:49:55 +01:00
lassulus
cabd848fb7
vars: set persist to true if the script is empty
2025-01-22 19:36:19 +00:00
a-kenji
dfdcad7fc5
Fix various typos
2025-01-22 13:26:58 +01:00
a-kenji
ce148c23a5
Fix various typos
2025-01-22 13:19:28 +01:00
a-kenji
7308eb8dc7
clanModules/mycelium: init mycelium
...
This adds a clanModule for `mycelium`.
`Mycelium` is an IPv6 overlay network written in Rust.
Each node that joins the overlay network will receive an overlay network IP in the 400::/7 range.
An example configuration might look like this in the inventory:
```nix
mycelium.default = {
roles.peer.machines = [
"berlin"
"munich"
];
config = {
topLevelDomain = "m";
openFirewall = true;
addHostedPublicNodes = true;
};
};
```
This will add the machines named `berlin` and `munich` to the `mycelium` vpn.
And will also set the toplevel domain of the mycelium vpn to `m`, meaning the
machines are now reachable via `berlin.m` and `munich.m`.
2025-01-22 11:56:10 +00:00
hsjobeki
fe399f773e
Merge pull request 'Vars/Facts: improve api, fix some errors' ( #2712 ) from hsjobeki/clan-core:zerotier into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2712
2025-01-22 09:02:55 +00:00
Johannes Kirschbauer
906126f91f
Vars/tests: secrets dont raise backend error depending on the previous backend
2025-01-22 09:02:55 +00:00
Johannes Kirschbauer
8c75051611
Facts/api: export method for getting the public store
2025-01-22 09:02:55 +00:00
Johannes Kirschbauer
096f1b5e8a
Vars/secrets-store: omit folder exists errors for secrets
2025-01-22 09:02:55 +00:00
Mic92
47257cf56a
Merge pull request 'remove eval warning for createFile' ( #2773 ) from network into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2773
2025-01-21 16:15:17 +00:00
Jörg Thalheim
62c6da4c32
clan/update: deploy_machine -> deploy_machines
2025-01-21 15:20:38 +01:00
Jörg Thalheim
076de05a88
remove eval warning for createFile
2025-01-21 15:20:38 +01:00
Michael Hoang
6ba1850678
flash: don't allow partitioning time secrets
2025-01-21 11:13:51 +00:00
lassulus
6f2ae1e1f2
extend installation-test to check partitioning secrets
2025-01-21 11:13:51 +00:00
Michael Hoang
0ec38c7919
vars: support secrets for partitioning the disk
2025-01-21 11:13:51 +00:00
Mic92
8acb15612d
Merge pull request 'Automatic flake update - 2025-01-20T00:00+00:00' ( #2769 ) from flake-update-2025-01-20 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2769
2025-01-21 11:09:13 +00:00
Clan Merge Bot
7b1639e8f3
update flake lock - 2025-01-20T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/f720e64ec37fa16ebba6354eadf310f81555cc07?narHash=sha256-8hKhPQuMtXfJi%2B4lPvw3FBk/zSJVHeb726Zo0uF1PP8%3D' (2025-01-12)
→ 'github:nix-community/disko/bf0abfde48f469c256f2b0f481c6281ff04a5db2?narHash=sha256-rMEuiK69MDhjz1JgbaeQ9mBDXMJ2/P8vmOYRbFndXsk%3D' (2025-01-16)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ae2fb9f1fb5fcf17fb59f25c2a881c170c501d6f?narHash=sha256-BYsp8PA1j691FupfrLVOQzm4CaYaKtkh4U%2BKuGMnBWw%3D' (2025-01-15)
→ 'github:NixOS/nixpkgs/041c867bad68dfe34b78b2813028a2e2ea70a23c?narHash=sha256-DSenga8XjPaUV5KUFW/i3rNkN7jm9XmguW%2BqQ1ZJTR4%3D' (2025-01-17)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b?narHash=sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw%3D' (2025-01-06)
→ 'github:numtide/treefmt-nix/d1ed3b385f8130e392870cfb1dbfaff8a63a1899?narHash=sha256-uPNWcYbhY2fjY3HOfRCR5jsfzdzemhfxLSxwjXYXqNc%3D' (2025-01-17)
2025-01-21 11:09:13 +00:00
Mic92
505d038918
Merge pull request 'Automatic flake update - treefmt-nix - 2025-01-20T00:00+00:00' ( #2770 ) from flake-update-treefmt-nix-2025-01-20 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2770
2025-01-21 11:09:03 +00:00
Clan Merge Bot
f09aaa57f1
update flake lock - treefmt-nix - 2025-01-20T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b?narHash=sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw%3D' (2025-01-06)
→ 'github:numtide/treefmt-nix/d1ed3b385f8130e392870cfb1dbfaff8a63a1899?narHash=sha256-uPNWcYbhY2fjY3HOfRCR5jsfzdzemhfxLSxwjXYXqNc%3D' (2025-01-17)
2025-01-21 11:09:03 +00:00
Mic92
86219f436d
Merge pull request 'use nix flake archive in clan machines update for git+file flake inputs' ( #2771 ) from machine-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2771
2025-01-20 09:55:25 +00:00
Jörg Thalheim
c5a72f67c3
use nix flake archive in clan machines update for git+file flake inputs
2025-01-20 10:49:25 +01:00