lassulus
90bd9217e3
vars fs: fix
2025-02-22 03:39:42 +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
Pablo Ovelleiro Corral
f28a38bbb3
Make store-backend configurable
2025-02-18 06:34:50 +01:00
Michael Hoang
4e2ae0f9f6
cli: add morph command
2025-02-16 21:31:28 +07:00
Michael Hoang
c4f77989fb
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
a-kenji
da0f792d9e
vars/interface: Change prompt.persist default to false
...
Change `prompt.persist` default to false.
We want a consistent default that is not conditionally dependent on
other values.
This makes communication on how the functionality is used more
consistent and easier understood.
2025-02-04 07:47:22 +00:00
Jörg Thalheim
50e30a750d
remove createFile legacy alias from vars/interface
...
it's hard to filter this out in nix. So instead we just drop this
option.
2025-01-31 10:29:35 +00:00
lassulus
e4826b5c53
vars: set persist to true if the script is empty
2025-01-22 19:36:19 +00:00
Jörg Thalheim
293d67d485
remove eval warning for createFile
2025-01-21 15:20:38 +01:00
Michael Hoang
7ee0e2afbf
vars: support secrets for partitioning the disk
2025-01-21 11:13:51 +00:00
DavHau
5ce72dd261
tests: reduce unnecessary rebuilds of several tests
...
Some test were referring to the whole source code via ${self} which amde them rebuild on every single commit.
This is not mitigated by introduceing `self.filter { include = [...]; }` allowin to a content addressed subset of the source code in tests.
2025-01-17 17:00:18 +07:00
clan-bot
4c284bb86b
Merge pull request 'Migrate borgbackup module to vars' ( #2741 ) from pinpox/clan-core:migrate-borgbackup-vars into main
2025-01-16 12:16:37 +00:00
Pablo Ovelleiro Corral
038083bece
Migrate borgbackup module to vars
2025-01-16 13:14:24 +01:00
Jörg Thalheim
fb217cc4b2
remove flip functions from sops code
2025-01-15 13:59:49 +00:00
Johannes Kirschbauer
31a1fe887e
Vars: interface improve docs formatting
2025-01-14 17:40:57 +01:00
Johannes Kirschbauer
0790db7258
Fix: f-string in generator error
2025-01-14 17:33:55 +01:00
Jörg Thalheim
353f7f9dfb
installer: substitute packages from local nix store
...
this can speed up the installation if both the installer and the
installed system use similar versions.
2025-01-14 15:11:33 +00:00
clan-bot
2a7ff6c1d5
Merge pull request 'vars in_repo: throw as a default so we can catch it with tryEval' ( #2745 ) from lassulus/clan-core:throw_inrepo into main
2025-01-14 14:58:20 +00:00
lassulus
b25fe641d2
vars in_repo: throw as a default so we can catch it with tryEval
2025-01-14 15:53:54 +01:00
Jörg Thalheim
3bcbc8fa3d
reformat after update
2025-01-14 15:30:29 +01:00
Jörg Thalheim
9b885f54af
matrix-synapse: migrate to vars
2025-01-14 14:16:19 +00:00
lassulus
cc99a23ac2
pass move-mount-beneath: add more debug info
2025-01-12 11:17:22 +01:00
DavHau
4a9ae3a45f
vars: rename createFile -> persist
2025-01-11 04:19:46 +00:00
Johannes Kirschbauer
59c135e6e7
Chore: move 'machineIcon','machineDescription' into 'clan.core.settings.machine' submodule
2024-12-31 15:24:53 +01:00
Johannes Kirschbauer
1c6716674a
Chore: move 'icon','name' into 'clan.core.settings' submodule
2024-12-31 15:17:52 +01:00
Johannes Kirschbauer
c9a005b8d9
Chore: add description to settings.machine submodule
2024-12-31 15:07:34 +01:00
Johannes Kirschbauer
d46ffe9f4a
Chore:_migrate 'machineName' to 'settings.machine.name'
2024-12-31 14:55:50 +01:00
Johannes Kirschbauer
315be52e34
Chore: init settings submdule, move clanDir into settings submodule
2024-12-31 14:18:09 +01:00
lassulus
8790b2163a
vars password-store: fix usage with newer vars
2024-12-25 22:09:52 +01:00
Jörg Thalheim
21ecbfc673
vars: simplify validationHash type for better error messages
2024-12-25 19:21:51 +00:00
Jörg Thalheim
3c3f927fd4
network-status: fix executable location
2024-12-24 11:47:35 +01:00
Michael Hoang
1d7e0c1c02
install: upload vars needed for activation for installation
2024-12-22 05:53:26 +00:00
lassulus
70ff7fcc2f
vars: allow setting files as needed for activation
2024-12-19 13:05:05 +01:00
clan-bot
c3a4e43592
Merge pull request 'Add documentation how to connect to installer' ( #2600 ) from Mic92-vars-fixes into main
2024-12-16 09:15:49 +00:00
lassulus
9cc3bdbc9f
vars: eval finalScript lazy
2024-12-14 13:38:51 +01:00
Jörg Thalheim
c5e8a6b02a
installer: move network-status into $PATH
2024-12-11 21:44:20 +01:00
Jörg Thalheim
cf2033441c
no longer use deprecated hardware.opengl
2024-12-11 17:44:09 +00:00
Jörg Thalheim
5aa1f47587
remove unused iso output
2024-12-06 17:04:02 +01:00
lassulus
e9efe2f0d1
vars: export also file owner & group to deployment.json
2024-12-05 10:29:19 +01:00
lassulus
82fb1edc37
vars: add file mode
2024-12-04 23:30:39 +01:00
lassulus
b381a71266
vars sops: passthrough neededForUsers
2024-12-03 23:54:21 +01:00
lassulus
e6eaa3cc03
vars password-store: add neededForUsers option
2024-12-03 22:28:39 +01:00
Jörg Thalheim
05d1c992ef
fix minifakeroot on macos
2024-12-03 13:01:16 +01:00
Jörg Thalheim
d3babc9d69
fix sops deprecation warning
2024-12-03 11:13:17 +01:00
Jörg Thalheim
b732855b04
always include gitMinimal
...
the condition was actually the wrong way around and we still need git in
nix for some operations.
2024-12-02 14:31:16 +00:00
clan-bot
f3131afe14
Merge pull request 'Automatic flake update - nixpkgs - 2024-12-02T00:00+00:00' ( #2530 ) from flake-update-nixpkgs-2024-12-02 into main
2024-12-02 14:21:56 +00:00
lassulus
3ae82f3efc
*: nix fmt
2024-12-02 15:14:40 +01:00
lassulus
5c307f7b82
Merge pull request 'fix(networking): Use true instead of "yes" for multicast config' ( #2528 ) from aos/clan-core:aos/systemd-network-use-true-bool into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2528
2024-12-02 13:53:52 +00:00
DavHau
0044ee78f5
zerotier: backup identity on change
...
This prevents users from loosing their identity after enabling the zerotier clan module when they were previously using zerotier via nixos.
2024-12-02 17:52:10 +07:00
DavHau
06f0e495ce
zerotier: improve docs for moons
2024-12-02 15:50:49 +07:00