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
Aos Dabbagh
df0c18b6a7
fix(networking): Use true instead of "yes" for multicast config
...
I ran into an issue when I had clan + this module:
ce61f71680/nixos/mixins/mdns.nix (L6)
they both set the same config value, but clan uses "yes" and that module
uses `true`. systemd allows for "yes" or `true` (`man systemd.syntax`),
so I opted to change this to `true`.
Here's the full error:
```
error: The option `systemd.network.networks."99-ethernet-default-dhcp".networkConfig.MulticastDNS' has conflicting definition values:
- In `/nix/store/3yv22nq7rqd0ra30qvzc2d624rwa6h7c-source/nixosModules/clanCore/networking.nix': "yes"
- In `/nix/store/ivjk0r776mxal8v7jamwsrn4yidvg0dv-source/nixos/mixins/mdns.nix': true
Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.
```
2024-11-30 23:24:17 -05:00
lassulus
8d31a710fe
vars password-store: fix secretLocation again :)
2024-11-30 18:01:23 +01:00
lassulus
0afa050ca2
vars password-store: fix secretLocation
2024-11-30 17:24:17 +01:00
DavHau
5c5a87d416
vars: rename: invalidation -> validation
2024-11-29 17:23:31 +07:00
DavHau
fbbfcc0aa5
vars: generate docs for cli and module
2024-11-29 17:23:31 +07:00
lassulus
cdfcc42107
vars: remove dead option
2024-11-28 16:39:01 +01:00
lassulus
0e4f967dad
vars: use vars in option descriptions
2024-11-28 16:38:47 +01:00
lassulus
8337a3ec41
vars: remove secretsUploadDirectory from common module
2024-11-28 16:38:06 +01:00
Jörg Thalheim
cd2ea0d735
vars: add name to generators
2024-11-26 15:26:16 +01:00
lassulus
aee27ba441
core password-store: define fileModule only if file is secret
2024-11-25 12:40:51 +01:00
lassulus
448e04a4ef
core password-store: set default location to not conflict with facts
2024-11-23 10:38:14 +01:00
lassulus
fe4bf1c815
core password-store: fix secret location
2024-11-22 22:34:09 +01:00
lassulus
53f78d7959
clan-cli password-store: silence move-mount output
2024-11-22 22:34:09 +01:00
DavHau
d4c8b2e4ed
vars: implement invalidation mechanism
...
This adds options `invalidationData` to generators.
`invalidationData` can be used by an author of a generator to signal if a re-generation is required after updating the logic.
Whenever a generator with invalidation data is executed, a hash of that data is stored by the respective public and/or secret backends.
The stored hashes will be checked on future deployments, and a re-generation is triggered whenever a hash doesn't match what's defined in nix.
2024-11-20 16:27:22 +07:00
lassulus
8f0c575425
password-store owner & group support
2024-11-16 01:18:59 +01:00
Qubasa
26730cd662
clan-cli: upload.py -> Replace rsync with native ssh command
2024-11-15 22:03:47 +07:00
lassulus
faf0946c99
cli vars password-store: fix file locations
2024-11-14 12:07:52 +01:00
clan-bot
39a1bb349d
Merge pull request 'Inventory/constraints improve observability' ( #2400 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-13 13:42:17 +00:00
Johannes Kirschbauer
42d6ad84f8
Assertions: Fixup dont render assertions into docs
2024-11-13 14:30:50 +01:00
Johannes Kirschbauer
3019d7da7e
Inventory/assertions: add seperate assertion layer
2024-11-13 13:52:47 +01:00
lassulus
2c66b36931
core vars: remove default for dirs
2024-11-13 13:23:42 +01:00
Johannes Kirschbauer
83e2367b22
Chore: fix export of machines clan schema
2024-11-12 14:46:26 +01:00
Johannes Kirschbauer
9fb6ea2b8a
Chore: remove unused clanImports module
2024-11-12 14:46:25 +01:00