Commit Graph

3740 Commits

Author SHA1 Message Date
Qubasa
234ac6965a clanModules: Init nginx module. matrix-synapse: don't assume domain names 2024-08-19 12:00:35 +02:00
clan-bot
9c8be387fa Merge pull request 'golem: add golem-provider clan module' (#1890) from DavHau/clan-core:DavHau-dave into main 2024-08-19 09:55:54 +00:00
DavHau
8b75b16ccf golem: add golem-provider clan module 2024-08-19 11:50:04 +02:00
clan-bot
2e2c29381e Merge pull request 'Classgen: fix dict type conversion for trivial dicts' (#1905) from hsjobeki/clan-core:class into main 2024-08-19 06:58:49 +00:00
Johannes Kirschbauer
0296693680 Classgen: fix dict type conversion for trivial dicts 2024-08-19 08:48:31 +02:00
kenji
d0d95d0189 Merge pull request 'vars: fix using vars module with multiple machines' (#1891) from kenji/clan-core:fix-vars-multiple-machines into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1891
2024-08-17 14:00:56 +00:00
a-kenji
6130505177 vars: fix using vars module with multiple machines
This filters the secrets to only include the secrets managed under `per-machine` and `shared`,
otherwise new deployments will fail, when using the vars module for multiple machines:

```
[vyr] /nix/store/[…]sops-install-secrets: failed to decrypt '/nix/store/[…]/sops/vars/per-machine/draper/garage/admin_token/secret': Error getting data key: 0 successful groups required, got 0
```

This doesn't fix all the edge cases with this approach.
We get a similar error if we deploy shared vars that are not
encrypted for our machine key. This needs to be addressed when
implementing the shared vars functionality.
2024-08-17 14:00:56 +00:00
clan-bot
ab5425e1f3 Merge pull request 'zerotierone: fix with recent nixpkgs update' (#1902) from zerotierone into main 2024-08-16 09:08:18 +00:00
Jörg Thalheim
a067895bee bcachefs: use unstable for zfs 2024-08-16 11:04:42 +02:00
Jörg Thalheim
e9d63c5a84 bump nixpkgs 2024-08-16 11:04:42 +02:00
Jörg Thalheim
0e3b16578e zerotierone: use our own upgraded zerotierone package in nixos module 2024-08-16 11:04:42 +02:00
Jörg Thalheim
e12ab8f70e zerotierone: fix build against rust 1.80 2024-08-16 10:54:48 +02:00
clan-bot
0fc7213094 Merge pull request 'fix group settings not applied correctly' (#1901) from group-secrets into main 2024-08-15 21:00:54 +00:00
Mic92
4e7b14b908 Merge pull request 'feat(flake): make systems overridable' (#1893) from zimbatm/clan-core:overridable-flake-systems into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1893
2024-08-15 20:53:44 +00:00
Jörg Thalheim
c8f50a0d90 fix group settings not applied correctly 2024-08-15 22:52:53 +02:00
zimbatm
ce2b64f227 feat(flake): make systems overridable
Clan users might want to use the flake on different architectures.

This allows them to override the systems input with a new value.
2024-08-15 20:03:56 +02:00
clan-bot
7611a339bf Merge pull request 'fix remaining places not using captured_output' (#1900) from Mic92-flake-update-2024-08-12 into main 2024-08-15 18:00:53 +00:00
Jörg Thalheim
cd5313d7ce fix remaining places not using captured_output 2024-08-15 19:57:08 +02:00
clan-bot
3827fb017b Merge pull request 'use capture_output fixture in more places' (#1899) from Mic92-flake-update-2024-08-12 into main 2024-08-15 17:25:57 +00:00
Jörg Thalheim
82d3b98a38 use capture in more places 2024-08-15 19:20:01 +02:00
Jörg Thalheim
4d9c5b48c8 remove unused fixture 2024-08-15 19:13:20 +02:00
clan-bot
89c6a4b683 Merge pull request 'add fixture to capture output more fragile' (#1898) from Mic92-flake-update-2024-08-12 into main 2024-08-15 16:52:37 +00:00
Jörg Thalheim
fe66a740b5 add fixture to capture output in tests less fragile
Now we always remove previous output before capturing.
2024-08-15 18:45:03 +02:00
clan-bot
7eb663eeed Merge pull request 'Mic92-flake-update-2024-08-12' (#1897) from Mic92-flake-update-2024-08-12 into main 2024-08-15 16:06:39 +00:00
Jörg Thalheim
aec45d3a1a test_history_cli: clear capsys before reading from program 2024-08-15 17:59:11 +02:00
Jörg Thalheim
65d44c644a try to log content of flake substitutes 2024-08-15 17:43:57 +02:00
Jörg Thalheim
0479f35d81 stop using sysusers inside vm 2024-08-15 17:30:38 +02:00
Jörg Thalheim
5e3f4744bc fix treefmt-nix 2024-08-15 17:30:38 +02:00
Clan Merge Bot
fdb6322d5e update flake lock - 2024-08-12T00:00+00:00
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/bec6e3cde912b8acb915fecdc509eda7c973fb42' (2024-07-19)
  → 'github:nix-community/disko/ffc1f95f6c28e1c6d1e587b51a2147027a3e45ed' (2024-08-08)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03)
  → 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01)
• Updated input 'nixos-images':
    'github:nix-community/nixos-images/accee005735844d57b411d9969c5d0aabc6a55f6' (2024-07-21)
  → 'github:nix-community/nixos-images/617f2cb56213d10574bc6fdb390f6e7f5b551d7e' (2024-08-08)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4cc8b29327bed3d52b40041f810f49734298af46' (2024-07-21)
  → 'github:NixOS/nixpkgs/bef98989a27429e1cb9e3d9c25701ba2da742af2' (2024-08-10)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/909e8cfb60d83321d85c8d17209d733658a21c95' (2024-07-21)
  → 'github:Mic92/sops-nix/8ae477955dfd9cbf5fa4eb82a8db8ddbb94e79d9' (2024-08-05)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/07741a9babd0754bf73fb47a6340d6289eabd1d6' (2024-08-03)
  → 'github:numtide/treefmt-nix/c9f97032be6816fa234f24803b8ae79dc7753a91' (2024-08-11)
2024-08-15 17:30:38 +02:00
clan-bot
a7b81af59d Merge pull request 'Machine update: fix upload sources from machine flake, instead of current directory' (#1896) from hsjobeki/clan-core:hsjobeki-main into main 2024-08-15 13:31:57 +00:00
Johannes Kirschbauer
5acd9aabf3 UI: init update machine 2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
4940767fcc Serde: extend deserializer to accept anything 2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
ce560e05cd API: init machine update 2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
016b3e846d Machine update: fix upload sources from machine flake, instead of current directory 2024-08-15 15:08:15 +02:00
clan-bot
0bfc366661 Merge pull request 'Clan-app: flash installer. move expert fields into advanced form' (#1895) from hsjobeki/clan-core:hsjobeki-main into main 2024-08-15 10:31:49 +00:00
Johannes Kirschbauer
e2c3f31fe0 Clan-app: move expert field into advanced form 2024-08-15 12:26:43 +02:00
clan-bot
de31db2d00 Merge pull request 'fixtures_flake: avoid fileinput' (#1889) from Mic92-blog/nixos-facter into main 2024-08-14 15:05:56 +00:00
Jörg Thalheim
8e1b96aea5 fixtures_flake: avoid fileinput
it seems that the inplace argument in some cases picks up output from
unrelated functions. Since the file is relativly small, we can just
replace the content in one go.
2024-08-14 16:56:44 +02:00
clan-bot
030f058dff Merge pull request 'Clan-cli: remove unused show machine' (#1888) from hsjobeki/clan-core:hsjobeki-main into main 2024-08-14 14:35:24 +00:00
Johannes Kirschbauer
c86b14d34d Clan-app: generate hw spec via ssh 2024-08-14 16:28:43 +02:00
Johannes Kirschbauer
6709d47ae5 Clan-cli: remove unused show machine 2024-08-14 16:18:43 +02:00
kenji
faf227b0ab Merge pull request 'clanModules: add garage module' (#1887) from kenji/clan-core:modules/init-garage into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1887
2024-08-14 14:16:51 +00:00
a-kenji
7d97ed8d95 clanModules: add garage module
The garage module sets up backups for metadata automatically and
generates keys needed for deployment automatically.

What is still needed in a distributed deployment is sharing of the
generated rpc keys with other garage instances.
2024-08-14 16:01:13 +02:00
clan-bot
03670e67c9 Merge pull request 'Clan-app: init dynamic routes concept' (#1885) from hsjobeki/clan-core:hsjobeki-main into main 2024-08-14 11:22:36 +00:00
Johannes Kirschbauer
8897f2907d Clan-app: dynamic router concept 2024-08-14 13:16:14 +02:00
clan-bot
1ac61f002e Merge pull request 'pkgs/yagna: init at pre-rel-v0.16.0-preview.deposits.3' (#1883) from DavHau/clan-core:DavHau-dave into main 2024-08-13 20:20:20 +00:00
DavHau
ee031094e3 pkgs/yagna: init at pre-rel-v0.16.0-preview.deposits.3 2024-08-13 22:14:39 +02:00
clan-bot
0d4dc84533 Merge pull request 'Clan-app: adapt overall appearance & layout' (#1882) from hsjobeki/clan-core:hsjobeki-hw into main 2024-08-13 19:14:21 +00:00
Johannes Kirschbauer
7aa279a4fd Clan-app: adapt overall appearance & layout 2024-08-13 21:08:52 +02:00
clan-bot
57b598cbab Merge pull request 'Inventory: add assertions, allow external references' (#1877) from hsjobeki/clan-core:hsjobeki-inventory into main 2024-08-13 17:36:15 +00:00