lassulus
6037dde559
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
baa0a615ea
Add support for XDG_* style directories on macos
...
Closes #2864
2025-02-22 03:34:56 +00:00
Jörg Thalheim
b0760bc2b9
recommend vars over facts
2025-02-22 03:34:40 +00:00
Mic92
6a33fe8e7a
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
1f3bd09245
fix regex for detecting git+file inputs
2025-02-20 10:00:04 +07:00
a-kenji
122dbf4240
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
8ac286bcaf
docs: Fix install documentation
2025-02-19 14:23:45 +07:00
hsjobeki
8fcc004b68
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
37bbbefa8e
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
d44def5381
clan-cli: Fix clan create throwing a warning if --flake is not defined
2025-02-18 17:40:27 +07:00
Qubasa
03ce74fc74
clan-clI: Improve error message of clan update-hardware-config on non found nixos-facter
2025-02-18 17:40:27 +07:00
Qubasa
6c8137d30b
docs: Fix multiple issues with the clan installation guide
2025-02-18 17:40:27 +07:00
Pablo Ovelleiro Corral
27a3126d68
Make store-backend configurable
2025-02-18 06:34:50 +01:00
Qubasa
faee6c2a79
clan-cli: Re-add test_copy_from_nixstore_symlink test but mark it impure
2025-02-17 14:21:50 +07:00
Qubasa
6070219b1a
clan-cli: Remove set -x from pytest script
2025-02-17 14:10:22 +07:00
Qubasa
a5e32f9b6d
clan-cli: Fix clan flakes create inside an already existing git repo
2025-02-17 13:23:31 +07:00
Qubasa
89e3793831
clan-cli: Add CLAN_TEST_STORE env var to clan-pytest-without-core
2025-02-17 13:19:45 +07:00
Michael Hoang
fd908e18c3
templates: move machine templates
2025-02-17 02:15:42 +00:00
Clan Merge Bot
a4d4b991a1
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
4670525106
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
5a0ed03c56
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
Michael Hoang
af228db398
machines: hide morph
2025-02-17 00:22:14 +07:00
Pablo Ovelleiro Corral
b0e7de3c8b
Create directory
2025-02-16 17:08:54 +00:00
Pablo Ovelleiro Corral
cb89fb0847
Fix locking
2025-02-16 17:08:54 +00:00
Pablo Ovelleiro Corral
014aec9531
Fix output when rebuilding
2025-02-16 17:08:54 +00:00
Michael Hoang
160bbfcb37
cli: add morph command
2025-02-16 21:31:28 +07:00
Michael Hoang
5c68e129b7
nixos/clan: add option for opting out of Clan defaults
...
Also replace `documentation.nixos.enable = false` with
`documentation.doc.enable` to opt out of only `nixos-help` and the HTML
manual but leave `man configuration.nix`.
2025-02-16 21:31:28 +07:00
Michael Hoang
bc53c7a886
cli: make some functions only create commits optionally
2025-02-16 21:14:09 +07:00
Michael Hoang
61c1943ccc
templates: allow specifying from flake-parts module
2025-02-16 21:10:22 +07:00
a-kenji
c3013c1a02
docs/mesh-vpn: Document inventory usage
2025-02-16 13:32:42 +07:00
a-kenji
3cff6577da
docs: Extend backups guide
...
Closes #2792
2025-02-16 13:04:53 +07:00
a-kenji
c795a1d895
clanModules/syncthing-static-peers: Migrate to vars
...
Part of the #2511 migration.
2025-02-15 23:34:25 +07:00
a-kenji
66e166068e
clanModules/garage: Migrate to vars
...
Part of the #2511 migration.
2025-02-15 11:21:09 +00:00
lassulus
0c7173afd0
cli: nix_add_to_gcroots: don't run in sandboxed tests
2025-02-15 09:59:41 +00:00
lassulus
d5e391ecc8
clan-cli flake caching: fix selectors not merging
2025-02-15 09:59:41 +00:00
lassulus
2a3bc7b31b
clan-cli: hash the flake_hash to remove unwanted character from path
2025-02-15 09:59:41 +00:00
a-kenji
b54346ce03
clanModules/state-version: Remove trailing newlines
...
The state version is now matched against certain regex rules.
We strip possible trailing newlines to improve compatibility.
2025-02-15 16:29:07 +07:00
hsjobeki
39bc7c1f17
Merge pull request 'Fix: clan machines delete persistance logic' ( #2871 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2871
2025-02-15 08:34:47 +00:00
Johannes Kirschbauer
153b5560c3
Cli: delete machines bugfix. Dont modify the inventory in other places
2025-02-15 09:03:54 +07:00
Johannes Kirschbauer
2412513ad4
Inventory: init delete api
2025-02-15 09:03:46 +07:00
Jörg Thalheim
873f650678
remove directory = self from our documentation
2025-02-15 01:48:17 +00:00
Qubasa
35aedddf65
docs: Add --refresh flag to nix shell command to mitigate caching issues
2025-02-14 13:28:21 +07:00
Qubasa
663ab70465
clan-cli: Make copy_from_nixstore work with single files
2025-02-14 13:28:01 +07:00
Jörg Thalheim
4f1e2ba582
zt-tcp-releay: useFetchCargoVendor
2025-02-14 12:25:32 +07:00
Jörg Thalheim
d3bd120a04
fix system.stateVersion
2025-02-14 12:22:26 +07:00
Jörg Thalheim
f8bf39e43a
bump nixpkgs
2025-02-14 12:09:04 +07:00
Jörg Thalheim
93a7e272b1
Revert "zerotierone: fix on macOS"
...
This reverts commit 2e212e3e31 .
no longer needed after nixpkgs bump
2025-02-14 12:08:18 +07:00
Qubasa
de3153259d
clan-cli: Fix garbled clan vms run output. docs: Improve debugging guide
2025-02-13 16:17:55 +07:00
Luis Hebendanz
bf492d4deb
Merge pull request 'clan-cli: Remove flake-registry set to none in get_clan_nix_attrset' ( #2862 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2862
2025-02-13 08:55:40 +00:00
Qubasa
41cb679eab
clan-cli: Remove flake-registry set to none in get_clan_nix_attrset
2025-02-13 15:47:28 +07:00