Valentin Gagarin
ff5f55e779
add pre-commit check
...
make sure things are sane before they hit CI, re-purposing the existing
treefmt configuration.
this adds a custom installer for pre-commit hooks, which is inspired by
pre-commit.nix[0], but is much more minimal than the underlying
pre-commit[1] and builds on a historic idea[2] from this repository.
[0]: https://github.com/cachix/git-hooks.nix
[1]: https://github.com/pre-commit/pre-commit
[2]: 930923512c
2024-05-24 12:39:56 +00:00
clan-bot
647e7fe514
Merge pull request 'documentation: add keys' ( #1426 ) from a-kenji-add-keys into main
2024-05-24 11:49:09 +00:00
a-kenji
b5626aae1e
documentation: add keys
2024-05-24 13:46:05 +02:00
clan-bot
7c59b68deb
Merge pull request 'documenation: use monospace font for code blocks' ( #1425 ) from a-kenji-fix-monospace into main
2024-05-24 11:11:02 +00:00
a-kenji
67ebc38b0b
documenation: use monospace font for code blocks
...
Use monospace font for code blocks.
Fixes : #1337
2024-05-24 13:08:00 +02:00
clan-bot
38f6e182b7
Merge pull request 'clan machines list: reduce noise' ( #1418 ) from a-kenji-fix/output-noisy/1115 into main
2024-05-24 10:58:13 +00:00
a-kenji
5d0a0762b3
clan machines list: reduce noise
...
Don't log nix error output by default on `clan machines list`.
Log it, if `--debug` is passed.
Fixes #1115
2024-05-24 12:55:14 +02:00
clan-bot
e2185a2f36
Merge pull request 'documentation: improve legibility of command output' ( #1423 ) from a-kenji-fix/lsblk into main
2024-05-24 10:40:34 +00:00
a-kenji
33504088c2
documentation: improve legibility of command output
...
Improve legibility of command output.
2024-05-24 12:37:27 +02:00
clan-bot
0290a0e726
Merge pull request 'documenation: fix flake-parts what's next section' ( #1422 ) from a-kenji-fix/docs/flake-parts into main
2024-05-24 10:14:55 +00:00
a-kenji
5320c621b9
documenation: fix flake-parts what's next section
2024-05-24 12:11:42 +02:00
clan-bot
0fd00b441b
Merge pull request 'impure-checks: unset CLAN_DIR' ( #1420 ) from a-kenji-fix/env into main
2024-05-24 10:06:10 +00:00
a-kenji
ecb74a5b39
impure-checks: unset CLAN_DIR
...
Unset `CLAN_DIR` in the impure checks, so that it won't reference the
users configuration.
Fixes #1419
2024-05-24 12:03:11 +02:00
clan-bot
5c67836d24
Merge pull request 'lib.jsonschema: parse some more types' ( #1417 ) from DavHau-dave into main
2024-05-23 14:17:56 +00:00
DavHau
66f06a484b
lib.jsonschema: parse some more types
2024-05-23 16:12:49 +02:00
clan-bot
98d5aaae81
Merge pull request 'modules: init trusted-nix-cache module' ( #1414 ) from a-kenji-add/cache-module into main
2024-05-23 07:32:36 +00:00
a-kenji
b440ab3dba
modules: init trusted-nix-cache module
2024-05-23 09:29:31 +02:00
clan-bot
dfdbe76ef2
Merge pull request 'flake.nix: change disko back to nix-community' ( #1409 ) from change_disko_input into main
2024-05-22 19:17:48 +00:00
Qubasa
48bb275946
flake.nix: change disko back to nix-community
2024-05-22 21:14:30 +02:00
clan-bot
10e61dfeb2
Merge pull request 'Revert "Merge pull request 'add pre-commit-check' ( #1369 ) from fricklerhandwerk/clan-core:add-pre-commit into main"' ( #1408 ) from Qubasa-revert_hooks into main
2024-05-22 12:36:23 +00:00
Qubasa
dcf98a93ee
Revert "Merge pull request 'add pre-commit-check' ( #1369 ) from fricklerhandwerk/clan-core:add-pre-commit into main"
...
This reverts commit 4c4afe8028 , reversing
changes made to 2785f59960 .
2024-05-22 14:31:53 +02:00
Luis Hebendanz
4c4afe8028
Merge pull request 'add pre-commit-check' ( #1369 ) from fricklerhandwerk/clan-core:add-pre-commit into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1369
2024-05-22 11:49:57 +00:00
Valentin Gagarin
63b2ffc6c2
use a custom installer for pre-commit hooks
2024-05-22 11:49:57 +00:00
Valentin Gagarin
29d713e44e
add pre-commit check
...
make sure things are sane before they hit CI.
this re-purposes the existing treefmt configuration.
2024-05-22 11:49:57 +00:00
clan-bot
2785f59960
Merge pull request 'zerotier-static-peers: init module' ( #1400 ) from a-kenji-modules/init/static-zerotier-hosts into main
2024-05-22 10:40:41 +00:00
a-kenji
f96427fb6f
zerotier-static-peers: init module
...
Init zerotertier-static-peers module.
This module automatically configures the networkId.
It will automatically accept peers based on their zerotier-ips in the
clan flake.
2024-05-22 12:37:13 +02:00
clan-bot
fdf72f3fea
Merge pull request 'user-password: set prompt to true by default' ( #1399 ) from a-kenji-user-password/on-by-default into main
2024-05-22 10:19:04 +00:00
a-kenji
420f8b57cc
user-password: set prompt to true by default
2024-05-22 12:15:26 +02:00
clan-bot
829e66581c
Merge pull request 'modules: static hosts filter nonexistent ip' ( #1398 ) from a-kenji-fix/path-loading into main
2024-05-21 15:28:52 +00:00
a-kenji
d8e0773536
modules: static hosts filter nonexistent ip
2024-05-21 17:24:14 +02:00
clan-bot
9d1467ec8a
Merge pull request 'zerotier-members: fix joining by member ip' ( #1397 ) from a-kenji-fix/by-ip into main
2024-05-21 14:42:35 +00:00
a-kenji
34fd684652
zerotier-members: fix joining by member ip
2024-05-21 16:39:28 +02:00
clan-bot
12c9871d9c
Merge pull request 'clan ui: setup typed api method' ( #1391 ) from hsjobeki-main into main
2024-05-21 14:06:45 +00:00
Johannes Kirschbauer
13678606e7
api: fix typing issues
2024-05-21 16:01:57 +02:00
Johannes Kirschbauer
d6e0bbebd1
webview: replace dream2nix by buildNpm from nixpkgs to save inputs
2024-05-21 15:52:20 +02:00
clan-bot
9e90a1cc5e
Merge pull request 'documentation: remove references to Icons for introductory material' ( #1392 ) from a-kenji-rm/icon into main
2024-05-21 09:19:51 +00:00
a-kenji
6128032865
documentation: remove references to Icons for introductory material
...
The icons are not yet used in this path.
This is unneccessary overhead for new users, with no payoff yet.
2024-05-21 11:16:12 +02:00
Johannes Kirschbauer
3427b0360a
clan ui: add check to build script
2024-05-21 10:09:05 +02:00
Johannes Kirschbauer
53548eb56e
clan ui: move print into log.debug statements
2024-05-20 19:59:50 +02:00
Johannes Kirschbauer
8d77525664
clan ui: setup typed api method
2024-05-20 19:34:49 +02:00
clan-bot
c3be19f3cd
Merge pull request 'clanModule.sshd: Deactivate password auth. Change flake template to every machine having its own disko.nix file.' ( #1389 ) from Qubasa-main into main
2024-05-20 17:14:24 +00:00
Qubasa
5a804bc327
clanModule.sshd: Deactivate password auth. Change flake template to every machine having its own disko.nix file.
2024-05-20 19:11:12 +02:00
clan-bot
180577ca75
Merge pull request 'clan-ui: rollback default view until webview is ready' ( #1388 ) from feat/ui into main
2024-05-20 09:11:35 +00:00
Johannes Kirschbauer
fee16e6328
clan-ui: rollback default view until webview is ready
2024-05-20 11:08:14 +02:00
clan-bot
445e3fe9cb
Merge pull request 'Automatic flake update - 2024-05-20T00:00+00:00' ( #1387 ) from flake-update-2024-05-20 into main
2024-05-20 00:03:44 +00:00
Clan Merge Bot
227fc53e8a
update flake lock - 2024-05-20T00:00+00:00
...
Flake lock file updates:
• Updated input 'dream2nix':
'github:nix-community/dream2nix/995e831dac8c2c843f1289d15dfec526cb84afdd' (2024-05-14)
→ 'github:nix-community/dream2nix/f28d1cc6898532ac331a1625628090dc7c5b02e2' (2024-05-19)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e' (2024-05-02)
→ 'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9' (2024-05-16)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/722b512eb7e6915882f39fff0e4c9dd44f42b77e' (2024-04-22)
→ 'github:nix-community/nixos-generators/a63e0c83dd83fe28cc571b97129e13373436bd82' (2024-05-19)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/81e709ca1da9c5c31b65cc8f82a97181f78ec076' (2024-05-13)
→ 'github:nix-community/nixos-images/8c9cab8c44434c12dafc465fbf61a710c5bceb08' (2024-05-19)
• Updated input 'nixos-images/nixos-2311':
'github:NixOS/nixpkgs/6eccabe980dcb2048aab7f97f862fb6d79b98abe' (2024-05-12)
→ 'github:NixOS/nixpkgs/95742536dc6debb5a8b8b78b27001c38f369f1e7' (2024-05-16)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/c029b7f004009923bbfc90bbc31263cd4b08759f' (2024-05-15)
→ 'github:NixOS/nixpkgs/8a2555763c48e2410054de3f52f7310ce3241ec5' (2024-05-19)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/b6cb5de2ce57acb10ecdaaf9bbd62a5ff24fa02e' (2024-05-12)
→ 'github:Mic92/sops-nix/0bf1808e70ce80046b0cff821c019df2b19aabf5' (2024-05-19)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/c6aaf729f34a36c445618580a9f95a48f5e4e03f' (2024-04-25)
→ 'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b' (2024-05-17)
2024-05-20 00:00:21 +00:00
clan-bot
7b856b815c
Merge pull request 'zerotier-members: allow joining by zerotier ip' ( #1386 ) from a-kenji-main into main
2024-05-19 21:16:24 +00:00
a-kenji
1612bfbae0
zerotier-members: allow joining by zerotier ip
2024-05-19 23:13:26 +02:00
clan-bot
42f1c52eaa
Merge pull request 'init: static-hosts module' ( #1385 ) from a-kenji-init/statix-hosts-module into main
2024-05-19 11:09:54 +00:00
clan-bot
e3de42c3de
Merge pull request 'user-password: fix module path' ( #1384 ) from a-kenji-fix/user-passord-module into main
2024-05-19 11:08:42 +00:00