a-kenji
255a2f5800
facts: fix typo
2024-08-20 11:44:29 +00:00
clan-bot
52e8bc163a
Merge pull request 'API/show_block_devices: add option for remote devices' ( #1903 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-20 10:10:48 +00:00
Johannes Kirschbauer
db0ebcabf0
init: Set/get single disk
2024-08-20 12:05:22 +02:00
kenji
4f34e136be
Merge pull request 'state: remove /home from default state folders' ( #1886 ) from kenji/clan-core:remove-home-from-state into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1886
Reviewed-by: lassulus <clanlol@lassul.us >
2024-08-20 10:02:12 +00:00
a-kenji
c3a491a8d9
state: remove /home from default state folders
...
Home should not always be set by default.
In the UI we can suggest it, but it catches a lot of state you might not
want to back up.
The default has been moved to be automatically set by vm's in `vm.nix`.
2024-08-20 10:02:12 +00:00
Johannes Kirschbauer
f55e772137
Fix: types
2024-08-20 11:33:23 +02:00
Johannes Kirschbauer
cabdbe5ecd
Clan-app: connection check & show remote devices
2024-08-20 09:53:15 +02:00
Johannes Kirschbauer
76ca85ac73
API/show_block_devices: add option for remote devices
2024-08-20 09:53:15 +02:00
clan-bot
88d3223ac0
Merge pull request 'clanModules: Init nginx module. matrix-synapse: don't assume domain names' ( #1906 ) from Qubasa/clan-core:Qubasa-new-main into main
2024-08-19 10:59:16 +00:00
Qubasa
4bf31c2cf6
clanModules: Add acme secret prompt for nginx
2024-08-19 12:53:15 +02:00
Qubasa
e4821a33cb
clanModules: Init vaultwarden, the bitwarden server
2024-08-19 12:00:35 +02:00
Qubasa
efd0a0f056
clanModules: Init nginx module. matrix-synapse: don't assume domain names
2024-08-19 12:00:35 +02:00
clan-bot
f8c20fcbe1
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
57a19550a0
golem: add golem-provider clan module
2024-08-19 11:50:04 +02:00
clan-bot
f6a6743dcd
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
4139435832
Classgen: fix dict type conversion for trivial dicts
2024-08-19 08:48:31 +02:00
kenji
b61f9de05c
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
63b5417c3d
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
28b588b36f
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
f3b63232cd
bcachefs: use unstable for zfs
2024-08-16 11:04:42 +02:00
Jörg Thalheim
ca4f347598
bump nixpkgs
2024-08-16 11:04:42 +02:00
Jörg Thalheim
466c7cb8bd
zerotierone: use our own upgraded zerotierone package in nixos module
2024-08-16 11:04:42 +02:00
Jörg Thalheim
237f762490
zerotierone: fix build against rust 1.80
2024-08-16 10:54:48 +02:00
clan-bot
22ef162d55
Merge pull request 'fix group settings not applied correctly' ( #1901 ) from group-secrets into main
2024-08-15 21:00:54 +00:00
Mic92
14ce2039b0
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
3b40ff8156
fix group settings not applied correctly
2024-08-15 22:52:53 +02:00
zimbatm
4fa4af12dc
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
f132038bcd
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
609b208d91
fix remaining places not using captured_output
2024-08-15 19:57:08 +02:00
clan-bot
78643953ad
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
223b97d665
use capture in more places
2024-08-15 19:20:01 +02:00
Jörg Thalheim
5f99604f0e
remove unused fixture
2024-08-15 19:13:20 +02:00
clan-bot
9a7341872c
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
e51905545d
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
95f63a8efc
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
6d764b35f7
test_history_cli: clear capsys before reading from program
2024-08-15 17:59:11 +02:00
Jörg Thalheim
bc1c7c748f
try to log content of flake substitutes
2024-08-15 17:43:57 +02:00
Jörg Thalheim
b8fe60a4f7
stop using sysusers inside vm
2024-08-15 17:30:38 +02:00
Jörg Thalheim
943e3f6d5b
fix treefmt-nix
2024-08-15 17:30:38 +02:00
Clan Merge Bot
cef77a3df4
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
237bc7112c
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
02662867fb
UI: init update machine
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
cacd49ff54
Serde: extend deserializer to accept anything
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
90b13dc803
API: init machine update
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
3522b8ba49
Machine update: fix upload sources from machine flake, instead of current directory
2024-08-15 15:08:15 +02:00
clan-bot
fbe45e1320
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
a703388ba7
Clan-app: move expert field into advanced form
2024-08-15 12:26:43 +02:00
clan-bot
4d57f4cf5b
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
dc229a1b3b
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
4fdb9455f0
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