Michael Hoang
c6cf9d1336
checks/installation: use test-flake instead of self
2025-03-10 11:58:32 +09:00
Clan Merge Bot
9b6e42790e
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
547b012e0b
clanModules/mycelium: Allow by default, if adding the module
2025-03-09 23:49:03 +00:00
DavHau
9797ef792a
vars+facts: use bwrap only if supported
2025-03-09 13:52:15 +07:00
Luis Hebendanz
fe0de90a28
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
539fd30206
clan-cli: treefmt fix to iwd module
2025-03-07 14:26:37 +01:00
Guilhem Saurel
a11d5471ec
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
19f2facbce
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
468a25034e
clan-cli: Make Lix compatible again
2025-03-07 14:06:35 +01:00
Johannes Kirschbauer
a2b76eb5a2
Inventory: rename internal inventory toplevel attribute to 'inventoryClass'
2025-03-07 12:30:29 +00:00
DavHau
ba0ed30997
update nixpkgs
2025-03-07 14:30:01 +07:00
DavHau
2a4d2c9cb5
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
4c1e74fae6
nixos/clan: rename setDefaults to enableRecommendedDefaults
2025-03-05 03:37:41 +00:00
pinpox
cee62bf168
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
a865213894
Add auto-upgrade module
2025-03-04 10:09:37 +01:00
Johannes Kirschbauer
d8f9375580
Docs: add comment where actual contributing.md is located
2025-03-04 15:16:54 +09:00
Luis Hebendanz
526072806f
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
91a19d9ea9
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
38c7644692
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
726f2ab5f8
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
5918620535
docs/CONTRIBUTING: Add missing article
2025-03-02 20:44:42 -08:00
a-kenji
58e85eda9c
clanModules/iwd: Fix conversion link
2025-03-02 20:27:40 -08:00
a-kenji
e98e817941
docs: Fix numbered markdown list
2025-03-02 20:10:43 -08:00
a-kenji
fe92c7d1e6
docs/CONTRIBUTING: Clarify wrong suggestion about debugging dependent tools
2025-03-03 03:57:33 +00:00
a-kenji
4222f9788c
docs/site: Fix flake-parts link
2025-03-03 03:53:49 +00:00
a-kenji
3d80423259
docs/CONTRIBUTING: Fix data-mesher reference name
2025-03-02 19:42:57 -08:00
Johannes Kirschbauer
186e81d8b9
Tests: migrate backup tests to use inventory
2025-03-03 02:28:03 +00:00
Qubasa
212c899767
clan-cli: Revert generating facts in clan facts list, for consistency
2025-03-03 01:40:40 +01:00
Luis Hebendanz
312c12c98f
Merge pull request 'clan-cli: Fix wrong clan vars generate regression added by a903a9028b555223ddcb897cf8a8fb198fb991b4' ( #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
2ec4e49650
clan-cli: Fix wrong clan vars generate regression added by a903a9028b
2025-03-02 19:53:17 +01:00
kenji
4e5b4a1b80
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
ccb3bdb740
clanModules/root-password: don't deploy plain text password
2025-03-02 17:52:03 +01:00
Luis Hebendanz
a903a9028b
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
ba28691747
clan-cli: Fix get_all_facts forgetting to generate facts before getting them
2025-03-02 15:07:57 +01:00
Luis Hebendanz
e7aa5cfb4e
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
8b74147721
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
299180703e
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
vdbe
6c941deb96
clanModules/machine-id: fix value
2025-03-02 10:41:35 +01:00
Michael Hoang
39761946a0
vars/sops: fix clan vars fix missing machine name in error message
2025-03-02 08:22:23 +07:00
Luis Hebendanz
b71e16dd5d
Merge pull request 'clan-cli: Remove can_build_locally and replace with nixos-anywhere --build-on auto' ( #2944 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2944
2025-03-01 17:34:17 +00:00
Qubasa
0da1a05b55
clan-cli: Remove can_build_locally and replace with nixos-anywhere --build-on auto
2025-03-01 17:52:41 +01:00
Luis Hebendanz
3551d061ce
Merge pull request 'clan-cli: Make host upload function support uploading single files too' ( #2943 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2943
2025-03-01 16:35:19 +00:00
Qubasa
6099aeb0c6
clan-cli: Make host upload function support uploading single files too
2025-03-01 17:10:42 +01:00
lassulus
bcd6c7108a
clan-cli: try to fix CI bug again
2025-02-28 04:58:42 +00:00
lassulus
d20f13abe7
clan-cli: set ssh port for nix copy
2025-02-28 04:58:42 +00:00
a-kenji
cfeda1f06d
templates: Remove unneeded article
2025-02-27 11:28:48 +00:00
Luis Hebendanz
73dd981f71
Merge pull request 'docs/guide: Mention alternative secret store backends' ( #2926 ) from kenji/clan-core:docs/add-reference-to-other-backend into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2926
2025-02-27 09:58:00 +00:00
a-kenji
bc239e104c
docs/guide: Mention alternative secret store backends
2025-02-27 09:58:00 +00:00
Luis Hebendanz
bd2702df6d
Merge pull request 'templates: Remove superfluous comment' ( #2932 ) from kenji/clan-core:templates/remove-superfluuous-comment into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2932
2025-02-27 09:57:13 +00:00
a-kenji
7b0e652a7a
templates: Remove superfluous comment
...
Remove this seemingly superfluous comment.
It is unclear what it really refers to.
Let's just remove it for brevity sake.
2025-02-27 09:57:13 +00:00