clan-bot
a955d6775b
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
c888f01823
vars: eval finalScript lazy
2024-12-14 13:38:51 +01:00
Jörg Thalheim
7b50fc4982
installer: move network-status into $PATH
2024-12-11 21:44:20 +01:00
Jörg Thalheim
0a3e49ba11
no longer use deprecated hardware.opengl
2024-12-11 17:44:09 +00:00
Jörg Thalheim
fe312c9198
remove unused iso output
2024-12-06 17:04:02 +01:00
lassulus
3abe715472
vars: export also file owner & group to deployment.json
2024-12-05 10:29:19 +01:00
lassulus
19a251d6fc
vars: add file mode
2024-12-04 23:30:39 +01:00
lassulus
4b63296d5f
vars sops: passthrough neededForUsers
2024-12-03 23:54:21 +01:00
lassulus
d89ee46d7f
vars password-store: add neededForUsers option
2024-12-03 22:28:39 +01:00
Jörg Thalheim
5e37ca2021
fix minifakeroot on macos
2024-12-03 13:01:16 +01:00
Jörg Thalheim
e250332f4b
fix sops deprecation warning
2024-12-03 11:13:17 +01:00
Jörg Thalheim
94cef8a28c
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
41e5192f0f
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
79a2283c71
*: nix fmt
2024-12-02 15:14:40 +01:00
lassulus
ea2ec50fbd
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
46e3930f26
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
e6931bf486
zerotier: improve docs for moons
2024-12-02 15:50:49 +07:00
Aos Dabbagh
8a6d544eef
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
5372066e04
vars password-store: fix secretLocation again :)
2024-11-30 18:01:23 +01:00
lassulus
893892aff4
vars password-store: fix secretLocation
2024-11-30 17:24:17 +01:00
DavHau
66ce80c096
vars: rename: invalidation -> validation
2024-11-29 17:23:31 +07:00
DavHau
03bcf6bba3
vars: generate docs for cli and module
2024-11-29 17:23:31 +07:00
lassulus
748053154e
vars: remove dead option
2024-11-28 16:39:01 +01:00
lassulus
af1dacc651
vars: use vars in option descriptions
2024-11-28 16:38:47 +01:00
lassulus
c00ac4a246
vars: remove secretsUploadDirectory from common module
2024-11-28 16:38:06 +01:00
Jörg Thalheim
0239770978
vars: add name to generators
2024-11-26 15:26:16 +01:00
lassulus
70a5910946
core password-store: define fileModule only if file is secret
2024-11-25 12:40:51 +01:00
lassulus
35cafe141b
core password-store: set default location to not conflict with facts
2024-11-23 10:38:14 +01:00
lassulus
8ec33eb8cf
core password-store: fix secret location
2024-11-22 22:34:09 +01:00
lassulus
0ef31a42df
clan-cli password-store: silence move-mount output
2024-11-22 22:34:09 +01:00
DavHau
3f62e143ec
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
8e1697a089
password-store owner & group support
2024-11-16 01:18:59 +01:00
Qubasa
250eed0798
clan-cli: upload.py -> Replace rsync with native ssh command
2024-11-15 22:03:47 +07:00
lassulus
7ae7ac8bd1
cli vars password-store: fix file locations
2024-11-14 12:07:52 +01:00
clan-bot
f543040109
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
15492f12fa
Assertions: Fixup dont render assertions into docs
2024-11-13 14:30:50 +01:00
Johannes Kirschbauer
8a5d99f6d2
Inventory/assertions: add seperate assertion layer
2024-11-13 13:52:47 +01:00
lassulus
9f7d46a536
core vars: remove default for dirs
2024-11-13 13:23:42 +01:00
Johannes Kirschbauer
959193fba1
Chore: fix export of machines clan schema
2024-11-12 14:46:26 +01:00
Johannes Kirschbauer
c7da3e165f
Chore: remove unused clanImports module
2024-11-12 14:46:25 +01:00
Jörg Thalheim
1dc0692472
waypipe: fix basic eval
2024-11-11 12:52:55 +01:00
Jörg Thalheim
e7930f4f4d
clanCore/zerotier: quote "or" keyword in attrset
2024-11-08 14:10:23 +00:00
Jörg Thalheim
6bfabbb8e6
vars: use explicit lib.mkOption function
...
the error messages where hard to read, when I tried to add a nested
option. Let's make the code easier to understand instead of saving some
characters to type.
2024-10-31 12:10:57 +01:00
Jörg Thalheim
56bb9c4c5a
vars: move owner/group to a sops namespace
...
we want to allow users to use this feature but do not want to use this
option in our own module because it's not supported by password store.
2024-10-31 12:10:57 +01:00
Jörg Thalheim
eb761f3105
only add gitMinimal for older nix version
2024-10-29 13:53:58 +01:00
Jörg Thalheim
467b92063c
add nixos-facter to base system
2024-10-29 13:53:46 +01:00
Jörg Thalheim
4230ae6750
ruff: enable warning lints
2024-10-23 09:06:02 +00:00
Louis Opter
f540ab91a1
vars: add the user and group options on files
...
This changeset forwards the ownership control options from sops-nix.
2024-10-23 09:05:53 +00:00
Jörg Thalheim
71e7ecd49c
improve terminating processes on error
2024-10-10 17:59:26 +02:00
Jörg Thalheim
8844f6aad7
drop optionsNix
2024-10-09 13:22:06 +02:00