DavHau
6422e77244
iwd: fix typo in deprecation message
2025-05-31 17:58:44 +07:00
DavHau
9122199b2d
deprecate iwd module gracefully
2025-05-31 17:46:07 +07:00
DavHau
f58a729c43
vars: fix spelling in docs
2025-05-31 11:13:17 +07:00
Jörg Thalheim
8860a58deb
vars: add restartUnits option
...
For secrets not part of the nix store there is no other way in NixOS to
restart a service after the secret is updated. One example is changing
password in userborn, which doesn't run as a activation script but as a
systemd service.
2025-05-28 16:44:19 +02:00
DavHau
fe5fcf26c8
clanModules/wifi: remove module
...
It was replaces by a service module and experimental anyways
2025-05-26 19:09:20 +07:00
DavHau
fe0efcf0c2
clanModules/wifi: refactor to use NetworkManager
...
Neither iwd, nor wpa_supplicant seem to be very reliable on some machines I tested.
Also NetworkManager has generally the best GUI support so it makes sense to build ontop of it
2025-05-19 18:14:37 +07:00
Johannes Kirschbauer
af58c32238
Docs: unify 'manual' with 'guides' folder
...
This is one of the final steps towards strictly following
https://diataxis.fr/
2025-05-18 20:40:40 +02:00
Johannes Kirschbauer
aadc9082fc
clanModules/wifi: deprecate in favor of inventory.instances
2025-05-14 17:08:17 +02:00
Johannes Kirschbauer
f3c81f5095
feat(clanModules): add deprecation feature that generates a warning if the module is used
2025-05-14 17:06:58 +02:00
pinpox
857950d373
add back old module for compatibility
2025-05-14 16:19:55 +02:00
pinpox
030519413d
Add warning for deprecated admin module
2025-05-14 12:11:41 +02:00
Brian McGee
8b518b78cd
fix(data-mesher): default bootstrap nodes
2025-05-13 11:48:01 +01:00
pinpox
cea0d659c3
Remove unnecessary file
2025-05-12 15:54:50 +02:00
pinpox
70a991f4f2
migrate admin module
2025-05-12 15:54:49 +02:00
Jörg Thalheim
837d539826
data-mesher: don't set owner for public_key
2025-05-12 12:06:05 +02:00
Mic92
655c7e4eed
Merge pull request 'Avoid a few cases of chmod-after-creation' ( #3438 ) from tangential/clan-core:it-s_a_race into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3438
2025-05-04 07:08:43 +00:00
a-kenji
a0ec0a0bea
clanModules/password: Fix vars documentation
2025-04-30 11:55:23 +02:00
a-kenji
287cd4b42a
clanModules/iwd: Migrate from facts to vars
2025-04-29 13:55:45 +02:00
Jonathan Thiessen
9f745ff637
Avoid a few cases of chmod-after-creation
2025-04-28 17:11:21 -07:00
Johannes Kirschbauer
7708df94c0
fix: typo in auto-upgrade clanModule
2025-04-27 12:04:03 +02:00
Mic92
3e31cca267
Merge pull request 'clanModules/vaultwarden: Migrate from facts to vars' ( #3394 ) from kenji/clan-core:ke-vaultwarden-migrate-to-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3394
2025-04-23 11:32:52 +00:00
a-kenji
68170ec9fb
clanModules/vaultwarden: Migrate from facts to vars
...
Closes : #3389
2025-04-23 13:01:52 +02:00
a-kenji
6531de6c07
clanModules/syncthing: Improve vars
2025-04-23 10:50:45 +00:00
a-kenji
38ff3f5a14
clanModules/syncthing: Group vars files
2025-04-23 10:50:45 +00:00
kenji
2d8847337c
Merge pull request 'syncthing: Migrate from facts to vars' ( #3388 ) from kenji/clan-core:syncthing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3388
2025-04-23 06:25:12 +00:00
a-kenji
356b26e690
chore: treefmt
2025-04-23 08:00:16 +02:00
a-kenji
ca5ddcee93
clanModules/syncthing: Fix vars usage
...
This fixes vars usage in the syncthing module.
Also removes some of the assumptions that were made in order for
`sysuser` to work, as we now use `userborn` for the vm functionality.
2025-04-23 07:40:44 +02:00
Jörg Thalheim
cbde58e1d8
zerotier: migrate from facts to vars
2025-04-22 18:20:35 +02:00
Jörg Thalheim
55b425670c
syncthing: warn that this module is currently not usuable without vms
2025-04-22 09:45:37 +02:00
Jörg Thalheim
3a1b49eaf8
syncthing: migrate to new inventory system
2025-04-22 09:45:37 +02:00
Jörg Thalheim
a1a515e6d9
state-version: fix default of config.system.stateVersion
...
fixes https://git.clan.lol/clan/clan-core/issues/3360
2025-04-21 15:37:22 +00:00
Jörg Thalheim
1049cc6edd
mumble: fix certificate generator
...
no idea how this ever worked before.
2025-04-16 18:49:24 +02:00
Jörg Thalheim
16752e3e11
mumble: migrate to inventory
2025-04-16 18:49:24 +02:00
Jörg Thalheim
e956f2773e
mumble: remove duplicate nixos test
2025-04-16 18:49:24 +02:00
Jörg Thalheim
50eff54001
mumble: migrate to vars
2025-04-16 18:49:24 +02:00
Jörg Thalheim
c05827abcc
moonlight/sunshine: mark as unusuable outside of our VM
...
we depend on VM user, which only will work with our vm nixos module
2025-04-16 17:48:09 +02:00
Jörg Thalheim
bb7617fe2a
migrate moonlight/sunshine to vars
2025-04-16 17:48:09 +02:00
RTUnreal
3f4ff94af6
clanModules: fix shellcheck errors
2025-04-09 19:44:00 +02:00
RTUnreal
2a2b8fb947
clanModules/borgbackup: fix shellcheck errors
2025-04-09 19:44:00 +02:00
RTUnreal
644147e2d4
clanModules/root-password: fix shellcheck errors
2025-04-09 19:44:00 +02:00
Jörg Thalheim
6ba2d7fc02
user-password: fix variables beeing incorrect
2025-04-08 09:37:05 +00:00
Jörg Thalheim
f24df0e33b
user-password: migrate to vars
2025-04-08 10:16:59 +02:00
DavHau
085a8c2050
remove some references to config in options
2025-04-03 17:29:07 +07:00
DavHau
c411e8bddc
remove definitions of clan.core.settings.machine.name on tests
2025-04-03 17:29:07 +07:00
Pablo Ovelleiro Corral
8ed186ce55
data-mesher: init module
...
Co-authored-by: Brian McGee <brian@bmcgee.ie >
2025-03-29 13:49:41 +00:00
Qubasa
5c62f113fe
sshd: Fix missing cfg.fqdn regression
2025-03-21 17:45:25 +01:00
Michael Hoang
effcbaaa0f
sshd: trust own ed25519 host key as a known host
2025-03-20 18:40:32 +09:00
a-kenji
1934384e3b
clanModules/mycelium: Allow by default, if adding the module
2025-03-09 23:49:03 +00:00
Qubasa
434e38779e
clan-cli: treefmt fix to iwd module
2025-03-07 14:26:37 +01:00
Guilhem Saurel
a135510047
Fix iwd space handling
...
ref man iwd.network:
> Key-value lines contain a setting key, an equal sign and the value of
> the setting. Whitespace preceding the key, the equal sign or the value,
> is ignored. The key must be a continuous string of alphanumeric and
> underscore characters and minus signs only. The value starts at the
> first non-whitespace character after the first equal sign on the line
> and ends at the end of the line and must be correctly UTF-8-encoded.
> […]
> String values, including file
> paths and hexstrings, are written as is except for five characters that
> may be backslash-escaped: space, \t, \r, \n and backslash itself.
> The latter three must be escaped. A space character must be escaped if
> it is the first character in the value string and is written as \s.
I guess this is what is expected then:
```
$ echo -e " \t \r \\ "
\
$ echo -e " \t \r \\ " | sed "s=\\\=\\\\\\\=g;s=\t=\\\t=g;s=\r=\\\r=g;s=^ =\\\s="
\s \t \r \\
```
2025-03-07 14:26:37 +01:00