a-kenji
c952fa0f80
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
Luis Hebendanz
b737c78bbc
Merge pull request 'docs/guide: Deduplicate machine instructions' ( #2924 ) from kenji/clan-core:docs/dedup-machines into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2924
2025-02-27 09:56:52 +00:00
a-kenji
39ac630086
docs/guide: Deduplicate machine instructions
2025-02-27 09:56:52 +00:00
Luis Hebendanz
8ee1a1a41e
Merge pull request 'tests/inventory: Drop zed-editor from the test inventory' ( #2922 ) from kenji/clan-core:drop/zed into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2922
Reviewed-by: lassulus <clanlol@lassul.us >
2025-02-27 09:56:23 +00:00
a-kenji
5ca17cfa8a
tests/inventory: Drop zed-editor from the test inventory
...
Drop `zed-editor` from the test inventory and exchange it with `hello`.
The inventory packages are built in the tests, we don't want to build
large derivations there.
2025-02-27 09:56:23 +00:00
lassulus
0104c41921
clan-cli: another try to fix the CI bug
2025-02-27 08:24:28 +01:00
lassulus
e3ce93a6ff
clan-cli: check if paths exist in cache check
2025-02-27 02:53:41 +01:00
Qubasa
ba2865e940
clan-cli: Fix flake.py missing cache eviction if there is a garbage collected path
2025-02-27 01:01:50 +01:00
lassulus
3f3b0f8be7
Merge pull request 'fix(clan-cli): fix cross system' ( #2935 ) from r17x/clan-core:fix/machine-cross-target-host into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2935
2025-02-26 09:18:08 +00:00
r17x
e9ffd923d5
fix(clan-cli): fix cross system
2025-02-26 14:27:00 +07:00
a-kenji
87d894c3ea
docs/guide: Add devshell recommendation to getting started
...
Fixes : #2218
2025-02-25 18:16:50 +00:00
a-kenji
6f68e2f3c0
clanModules/zerotier: Fix documentation
2025-02-26 00:41:20 +07:00
a-kenji
e952bbbaf7
templates/flake-parts: Add .envrc
...
Since the other template also has an `.envrc` let's keep everything
consistent.
2025-02-25 18:43:53 +07:00
Pablo Ovelleiro Corral
1d906b8373
Revert "switch to nixpkgs hosteded by cache.nixos.org"
...
This reverts commit 30fc207dc5 .
2025-02-25 09:04:27 +01:00
Pablo Ovelleiro Corral
8aab746bd0
Apply suggestion
2025-02-25 08:51:51 +01:00
Pablo Ovelleiro Corral
d9e0741329
Fix exists() check for age files
2025-02-25 08:51:51 +01:00
lassulus
e984dc5dd2
Merge pull request 'clan-cli: add unit tests for test_parse_deployment_address' ( #2910 ) from lopter/clan-core:lo-test-parse-deployment-address into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2910
2025-02-25 05:31:49 +00:00
Louis Opter
51a7a86817
clan-cli: add unit tests for test_parse_deployment_address
...
Follow-up to #2899 , more thorough than #2909 .
2025-02-25 05:31:49 +00:00
Mic92
a0cbfdd5a6
Merge pull request 'switch to nixpkgs hosteded by cache.nixos.org' ( #2921 ) from fix-build into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2921
2025-02-24 03:48:43 +00:00
Jörg Thalheim
30fc207dc5
switch to nixpkgs hosteded by cache.nixos.org
...
This now works thanks to https://github.com/NixOS/infra/pull/562
2025-02-24 10:44:15 +07:00
Clan Merge Bot
b0bc22ebfa
update flake lock - treefmt-nix - 2025-02-24T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/4f09b473c936d41582dd744e19f34ec27592c5fd?narHash=sha256-yrK3Hjcr8F7qS/j2F%2Br7C7o010eVWWlm4T1PrbKBOxQ%3D' (2025-02-07)
→ 'github:numtide/treefmt-nix/3d0579f5cc93436052d94b73925b48973a104204?narHash=sha256-mL1szCeIsjh6Khn3nH2cYtwO5YXG6gBiTw1A30iGeDU%3D' (2025-02-17)
2025-02-24 00:00:55 +00:00
Qubasa
d7c4a5d59d
clan-cli: Remove allow_uknown_placeholders flag. With upcoming nixos-anywhere patch this is not needed anymore.
2025-02-23 21:50:21 +01:00
Qubasa
ad3786ad76
clan-cli: Add an optional reference to an AsyncFuture to track origin of task.
2025-02-23 21:44:00 +01:00
lassulus
300aaa48e7
clan-cli: use new flake caching for machines
2025-02-23 15:58:03 +01:00
lassulus
35eaaea68e
try to fix profiles CI bug
2025-02-22 03:39:42 +00:00
lassulus
aa98c33d40
machines install: fix installation via tor
2025-02-22 03:39:42 +00:00
lassulus
90bd9217e3
vars fs: fix
2025-02-22 03:39:42 +00:00
lassulus
d171d99923
clan-cli deploy_info: fix find_reachable_host returning unreachable hosts
2025-02-22 03:39:42 +00:00
lassulus
0b1b43fded
add demo_iso code for iso-morphing
2025-02-22 03:39:42 +00:00
lassulus
9797d0a516
Merge pull request 'Add support for XDG_* style directories on macos' ( #2865 ) from Undone8/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2865
2025-02-22 03:34:56 +00:00
Denis Rosca
7a28d9274d
Add support for XDG_* style directories on macos
...
Closes #2864
2025-02-22 03:34:56 +00:00
Jörg Thalheim
5dc305a3f0
recommend vars over facts
2025-02-22 03:34:40 +00:00
Mic92
f9f0cd4f19
Merge pull request 'fix regex for detecting git+file inputs' ( #2907 ) from fix-git-input into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2907
2025-02-21 02:57:22 +00:00
Jörg Thalheim
eb38ea14ce
fix regex for detecting git+file inputs
2025-02-20 10:00:04 +07:00
a-kenji
01e6204a96
clanModules/mycelium: Remove certain options for compatibility reasons
...
Remove certain options for compatibility reasons
We want to reintroduce them once we pass in `vars` through the
inventory.
2025-02-19 09:54:00 +00:00
Qubasa
f102e17633
docs: Fix install documentation
2025-02-19 14:23:45 +07:00
hsjobeki
ce68c23378
Merge pull request 'clan-cli: "fix" ssh option parsing' ( #2899 ) from lopter/clan-core:lo-fix-ssh-option-parsing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2899
2025-02-19 01:41:07 +00:00
Louis Opter
c689c23d0c
clan-cli: "fix" ssh option parsing
...
Calling it fix in double quotes since that's still quite hand-crafted,
but at least you can now specify options with `@` inside them (e.g.
`ProxyJump`) and have it work properly.
Moreover this fixes the syntax for GET-like variables in the networking
clanCore module. Only the fixed syntax is supported since that's what
was tested, and actually parsed in the code.
2025-02-18 21:37:38 +00:00
Qubasa
2d0bcfe6f6
clan-cli: Fix clan create throwing a warning if --flake is not defined
2025-02-18 17:40:27 +07:00
Qubasa
e3651d0ae0
clan-clI: Improve error message of clan update-hardware-config on non found nixos-facter
2025-02-18 17:40:27 +07:00
Qubasa
125c2df666
docs: Fix multiple issues with the clan installation guide
2025-02-18 17:40:27 +07:00
Pablo Ovelleiro Corral
f28a38bbb3
Make store-backend configurable
2025-02-18 06:34:50 +01:00
Qubasa
0a41c85871
clan-cli: Re-add test_copy_from_nixstore_symlink test but mark it impure
2025-02-17 14:21:50 +07:00
Qubasa
bc66f8b7de
clan-cli: Remove set -x from pytest script
2025-02-17 14:10:22 +07:00
Qubasa
52fd912b45
clan-cli: Fix clan flakes create inside an already existing git repo
2025-02-17 13:23:31 +07:00
Qubasa
892bd25a3a
clan-cli: Add CLAN_TEST_STORE env var to clan-pytest-without-core
2025-02-17 13:19:45 +07:00
Michael Hoang
ab6a9b2d52
templates: move machine templates
2025-02-17 02:15:42 +00:00
Clan Merge Bot
bbf6aa0e8c
update flake lock - 2025-02-17T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/ff3568858c54bd306e9e1f2886f0f781df307dff?narHash=sha256-3Z40qHaFScWUCVQrGc4Y%2BRdoPsh1R/wIh%2BAN4cTXP0I%3D' (2025-02-05)
→ 'github:nix-community/disko/fa5746ecea1772cf59b3f34c5816ab3531478142?narHash=sha256-xFnU%2BuUl48Icas2wPQ%2BZzlL2O3n8f6J2LrzNK9f2nng%3D' (2025-02-15)
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/fa11d87b61b2163efbb9aed7b7a5ae0299e5ab9c?narHash=sha256-aY55yiifyo1XPPpbpH0kWlV1g2dNGBlx6622b7OK8ks%3D' (2025-01-15)
→ 'github:numtide/nixos-facter-modules/60f8b8f3f99667de6a493a44375e5506bf0c48b1?narHash=sha256-/nA3tDdp/2g0FBy8966ppC2WDoyXtUWaHkZWL%2BN3ZKc%3D' (2025-02-05)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/1128e89fd5e11bb25aedbfc287733c6502202ea9?narHash=sha256-3ebRdThRic9bHMuNi2IAA/ek9b32bsy8F5R4SvGTIog%3D' (2025-02-13)
→ 'github:NixOS/nixpkgs/fada727ee7c0bd487e311dede0a2b0725a0f7765?narHash=sha256-Zc%2BK4AxAwFaWKK18nSl/3TKidGf46En7bfK8SL%2BRevg%3D' (2025-02-14)
2025-02-17 00:52:05 +00:00
Clan Merge Bot
9277db8cf2
update flake lock - disko - 2025-02-17T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/ff3568858c54bd306e9e1f2886f0f781df307dff?narHash=sha256-3Z40qHaFScWUCVQrGc4Y%2BRdoPsh1R/wIh%2BAN4cTXP0I%3D' (2025-02-05)
→ 'github:nix-community/disko/fa5746ecea1772cf59b3f34c5816ab3531478142?narHash=sha256-xFnU%2BuUl48Icas2wPQ%2BZzlL2O3n8f6J2LrzNK9f2nng%3D' (2025-02-15)
2025-02-17 00:34:01 +00:00
Clan Merge Bot
1f3b8cee40
update flake lock - nixpkgs - 2025-02-17T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/1128e89fd5e11bb25aedbfc287733c6502202ea9?narHash=sha256-3ebRdThRic9bHMuNi2IAA/ek9b32bsy8F5R4SvGTIog%3D' (2025-02-13)
→ 'github:NixOS/nixpkgs/fada727ee7c0bd487e311dede0a2b0725a0f7765?narHash=sha256-Zc%2BK4AxAwFaWKK18nSl/3TKidGf46En7bfK8SL%2BRevg%3D' (2025-02-14)
2025-02-17 00:00:54 +00:00