Jörg Thalheim
86e8b26409
add test for parsing ssh options
2025-03-11 11:27:04 +01:00
Jörg Thalheim
fc0429ab0c
checks/morph: after flake update, increase memory size to 2048
2025-03-11 09:46:54 +00:00
Clan Merge Bot
d0bcc1cd96
update flake lock - 2025-03-10T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/fa5746ecea1772cf59b3f34c5816ab3531478142?narHash=sha256-xFnU%2BuUl48Icas2wPQ%2BZzlL2O3n8f6J2LrzNK9f2nng%3D' (2025-02-15)
→ 'github:nix-community/disko/19c1140419c4f1cdf88ad4c1cfb6605597628940?narHash=sha256-WK%2BPZHbfDjLyveXAxpnrfagiFgZWaTJglewBWniTn2Y%3D' (2025-02-25)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/32ea77a06711b758da0ad9bd6a844c5740a87abd?narHash=sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm%2BzmZ7vxbJdo%3D' (2025-02-01)
→ 'github:hercules-ci/flake-parts/f4330d22f1c5d2ba72d3d22df5597d123fdb60a9?narHash=sha256-%2Bu2UunDA4Cl5Fci3m7S643HzKmIDAe%2BfiXrLqYsR2fs%3D' (2025-03-07)
• Updated input 'nixpkgs':
'https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre762233.02032da4af07/nixexprs.tar.xz?narHash=sha256-%2BvOiMQwHEYBbWgvK//cuUqHZQ/y3DddCLyxZAbDdpnM%3D ' (1980-01-01)
→ 'https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre764393.ed0b1881565c/nixexprs.tar.xz?narHash=sha256-Xre00/fcpD/SxZZfxRuMSu7YOBCY6vOfgFBYKNntox8%3D ' (1980-01-01)
2025-03-11 09:46:54 +00:00
DavHau
188c5dfb17
docs: move contributing+debugging to section contributing
2025-03-11 15:19:46 +07:00
Luis Hebendanz
e615f3d860
Merge pull request 'pkgs/webview-lib: Fix version' ( #2991 ) from kenji/clan-core:webview-version into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2991
2025-03-10 13:20:38 +00:00
a-kenji
8b247a2ea8
pkgs/webview-lib: Fix version
2025-03-10 13:20:38 +00:00
Luis Hebendanz
39741ad573
Merge pull request 'clan-cli/tests: limit jobs to 16' ( #2986 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2986
2025-03-10 13:20:18 +00:00
DavHau
af66b63286
clan-cli/tests: limit jobs to 16
...
This reduces overload on the CI, as it already runs multiple test instances in parallel (with-core, without-core, etc), and otherwise would spawn 96 workers for each of those.
2025-03-10 13:20:18 +00:00
Luis Hebendanz
9e994f87d5
Merge pull request 'fix: clan machines install on machines without hardware configuration' ( #2983 ) from fix/systemless-installs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2983
Reviewed-by: kenji <aks.kenji@protonmail.com >
2025-03-10 13:19:17 +00:00
Michael Hoang
685effd22b
checks: use facter.json from external test-fixtures repo
2025-03-10 12:30:03 +09:00
Michael Hoang
d79d1811d6
install: let nixos-anywhere determine where to build automatically
...
This fixes installing machines that don't have `system` defined i.e.
when running `clan machines install` with `--update-hardware-config`.
2025-03-10 12:30:03 +09:00
Michael Hoang
7608bab20a
checks: don't expose systems that can't be evaluated
2025-03-10 11:58:32 +09:00
Michael Hoang
2388654325
checks: test installation on system-less systems
2025-03-10 11:58:32 +09:00
Michael Hoang
0ec2797441
checks/installation: use test-flake instead of self
2025-03-10 11:58:32 +09:00
Clan Merge Bot
c6df2630ce
update flake lock - nixpkgs - 2025-03-10T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre762233.02032da4af07/nixexprs.tar.xz?narHash=sha256-%2BvOiMQwHEYBbWgvK//cuUqHZQ/y3DddCLyxZAbDdpnM%3D ' (1980-01-01)
→ 'https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre764393.ed0b1881565c/nixexprs.tar.xz?narHash=sha256-Xre00/fcpD/SxZZfxRuMSu7YOBCY6vOfgFBYKNntox8%3D ' (1980-01-01)
2025-03-10 00:00:46 +00:00
a-kenji
1934384e3b
clanModules/mycelium: Allow by default, if adding the module
2025-03-09 23:49:03 +00:00
DavHau
db2e2e974c
vars+facts: use bwrap only if supported
2025-03-09 13:52:15 +07:00
Luis Hebendanz
d266e749a8
Merge pull request 'Fix iwd space handling' ( #2980 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2980
2025-03-07 13:34:48 +00:00
Qubasa
434e38779e
clan-cli: treefmt fix to iwd module
2025-03-07 14:26:37 +01:00
Guilhem Saurel
a135510047
Fix iwd space handling
...
ref man iwd.network:
> Key-value lines contain a setting key, an equal sign and the value of
> the setting. Whitespace preceding the key, the equal sign or the value,
> is ignored. The key must be a continuous string of alphanumeric and
> underscore characters and minus signs only. The value starts at the
> first non-whitespace character after the first equal sign on the line
> and ends at the end of the line and must be correctly UTF-8-encoded.
> […]
> String values, including file
> paths and hexstrings, are written as is except for five characters that
> may be backslash-escaped: space, \t, \r, \n and backslash itself.
> The latter three must be escaped. A space character must be escaped if
> it is the first character in the value string and is written as \s.
I guess this is what is expected then:
```
$ echo -e " \t \r \\ "
\
$ echo -e " \t \r \\ " | sed "s=\\\=\\\\\\\=g;s=\t=\\\t=g;s=\r=\\\r=g;s=^ =\\\s="
\s \t \r \\
```
2025-03-07 14:26:37 +01:00
Luis Hebendanz
7ac6fd8785
Merge pull request 'clan-cli flake: make lix compatible' ( #2970 ) from lix-compat into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2970
2025-03-07 13:21:45 +00:00
Qubasa
5c4fc7b852
clan-cli: Make Lix compatible again
2025-03-07 14:06:35 +01:00
Johannes Kirschbauer
fb883e54a6
Inventory: rename internal inventory toplevel attribute to 'inventoryClass'
2025-03-07 12:30:29 +00:00
DavHau
c9e9773e5b
update nixpkgs
2025-03-07 14:30:01 +07:00
DavHau
74b30cca9f
switch to nixpkgs hosteded by cache.nixos.org
...
take 2 on https://git.clan.lol/clan/clan-core/pulls/2921
2025-03-07 07:20:07 +00:00
Michael Hoang
35455afeb8
nixos/clan: rename setDefaults to enableRecommendedDefaults
2025-03-05 03:37:41 +00:00
pinpox
a08453ae7d
Merge pull request 'Automatic updates (phase 1)' ( #2914 ) from pinpox/clan-core:auto-update-module into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2914
2025-03-04 10:26:20 +00:00
Pablo Ovelleiro Corral
66332c1ae6
Add auto-upgrade module
2025-03-04 10:09:37 +01:00
Johannes Kirschbauer
2e42c16253
Docs: add comment where actual contributing.md is located
2025-03-04 15:16:54 +09:00
Luis Hebendanz
f60a49ea75
Merge pull request 'docs/repo-layout: Remove infra section' ( #2964 ) from kenji/clan-core:docs/remove-infra into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2964
Reviewed-by: Enzime <enzime@noreply.git.clan.lol >
2025-03-03 11:34:45 +00:00
a-kenji
db2530e0cd
docs/repo-layout: Remove infra section
...
Remove the public infra section, as it uses a bit of unfortunate
wording. It suggests we would add anyone to our infrastructure as an
admin.
2025-03-03 11:34:45 +00:00
Luis Hebendanz
4e85e178fc
Merge pull request 'docs/CONTRIBUTING: Remove internal tools documentation to streamline' ( #2962 ) from kenji/clan-core:docs/remove-internal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2962
Reviewed-by: Enzime <enzime@noreply.git.clan.lol >
2025-03-03 11:34:34 +00:00
a-kenji
dbf2fb26f9
docs/CONTRIBUTING: Remove internal tools documentation to streamline
...
Remove our internal developer tools documentation to streamline the
CONTRIBUTING.md guide and to not confuse external contributors.
2025-03-03 11:34:34 +00:00
a-kenji
122c493447
docs/CONTRIBUTING: Add missing article
2025-03-02 20:44:42 -08:00
a-kenji
2fd6576c6f
clanModules/iwd: Fix conversion link
2025-03-02 20:27:40 -08:00
a-kenji
bfae31f1ae
docs: Fix numbered markdown list
2025-03-02 20:10:43 -08:00
a-kenji
e3b0b4489a
docs/CONTRIBUTING: Clarify wrong suggestion about debugging dependent tools
2025-03-03 03:57:33 +00:00
a-kenji
d34f976057
docs/site: Fix flake-parts link
2025-03-03 03:53:49 +00:00
a-kenji
2b38fb3f9e
docs/CONTRIBUTING: Fix data-mesher reference name
2025-03-02 19:42:57 -08:00
Johannes Kirschbauer
8a04ee6d20
Tests: migrate backup tests to use inventory
2025-03-03 02:28:03 +00:00
Qubasa
4c138c6377
clan-cli: Revert generating facts in clan facts list, for consistency
2025-03-03 01:40:40 +01:00
Luis Hebendanz
f14a15ad62
Merge pull request 'clan-cli: Fix wrong clan vars generate regression added by 4ff5acfe29597029004b4ddcad9d185404e8a602' ( #2951 ) from Qubasa/clan-core:fix_regression into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2951
2025-03-02 19:05:23 +00:00
Qubasa
0602b9d01c
clan-cli: Fix wrong clan vars generate regression added by 4ff5acfe29
2025-03-02 19:53:17 +01:00
kenji
ce161cb1c8
Merge pull request 'clanModules/root-password: don't deploy plain text password' ( #2950 ) from vdbe/clan-core:clanModules/root-password/dont-deploy-plain-text into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2950
2025-03-02 18:43:38 +00:00
vdbe
e6c03497a4
clanModules/root-password: don't deploy plain text password
2025-03-02 17:52:03 +01:00
Luis Hebendanz
4ff5acfe29
Merge pull request 'clan-cli: Fix get_all_facts forgetting to generate facts before getting them' ( #2949 ) from Qubasa/clan-core:other_fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2949
2025-03-02 14:57:59 +00:00
Qubasa
75dc906183
clan-cli: Fix get_all_facts forgetting to generate facts before getting them
2025-03-02 15:07:57 +01:00
Luis Hebendanz
a283353022
Merge pull request 'templates: Remove description attribute from templates' ( #2933 ) from kenji/clan-core:templates/remove-description into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2933
Reviewed-by: Enzime <enzime@noreply.git.clan.lol >
2025-03-02 13:45:59 +00:00
a-kenji
5f97805a94
templates: Remove description attribute from templates
...
Remove the `description` flake attribute from templates.
It has limited usefulness, is unset, is another thing the user has to
set and is confronted with.
It seems better to omit this attribute to keep the focus here on what
really matters.
2025-03-02 13:45:59 +00:00
Luis Hebendanz
dffacbc772
Merge pull request 'clanModules/machine-id: fix value' ( #2948 ) from vdbe/clan-core:fix/clanmodules/machine-id into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2948
2025-03-02 13:44:48 +00:00