Jörg Thalheim
e68ebc8d6c
clan.core.state: wrap all commands in shell scripts
...
Otherwise we cannot execute them via ssh and also have nix store
dependencies.
2024-06-19 17:54:46 +02:00
Jörg Thalheim
06e6c24a64
postgresql: don't prepend postgresql- for states
2024-06-19 17:38:31 +02:00
DavHau
4db2e8303f
refactor: rename clanCore -> clan.core
2024-06-18 18:32:40 +07:00
Jörg Thalheim
682566603a
fix restore if database does not exists
2024-06-17 14:21:45 +02:00
Jörg Thalheim
b41b4e4ca1
matrix-synapse: restart service on restore
2024-06-17 14:21:45 +02:00
Jörg Thalheim
fc9a051498
postgres: handle restores without associated systemd service
2024-06-14 11:29:59 +02:00
Jörg Thalheim
ae088147bc
matrix-synapse: use upstream patch to create users declarativly
2024-06-14 11:27:06 +02:00
Jörg Thalheim
fa78cc0163
matrix-synapse: use registration_shared_secret_path instead
2024-06-14 11:18:09 +02:00
Jörg Thalheim
a6144220ca
matrix-synapse: fix user check
2024-06-14 11:18:09 +02:00
Jörg Thalheim
e6b5aab685
postgresql: move postRestoreCommand to a dedicated command
...
We need to call this command from the cli
2024-06-14 11:18:09 +02:00
Johannes Kirschbauer
6532e2acff
Webview: init 'open clan' workflow
2024-06-11 16:28:02 +02:00
Jörg Thalheim
a60f08a16e
matrix-synapse: add missing xkcdpass to password generator
2024-06-11 15:40:58 +02:00
Jörg Thalheim
a0ceeca71a
matrix-synapse: drop drop security.wrappers
...
This was debug code and not meant for production.
2024-06-11 13:32:58 +00:00
Jörg Thalheim
39d325de40
matrix-synapse: don't require to set default users
2024-06-11 15:12:41 +02:00
Jörg Thalheim
6d3ec1852e
matrix-synapse: add automatic user creation
2024-06-11 13:19:18 +02:00
a-kenji
b4e5b44a76
borbackup: set IdentitiesOnly=Yes
...
Since `borgbackup` is run as root user it might try other ssh keys.
2024-06-10 14:09:14 +00:00
clan-bot
18506310ff
Merge pull request 'Expand backup and restore capabilities w.r.t. postgresql.' ( #1582 ) from synapse into main
2024-06-10 13:24:08 +00:00
Jörg Thalheim
0042663673
borgbackup: move preBackupScript to a different systemd context
2024-06-10 15:17:46 +02:00
a-kenji
c0ba1517dd
syncthing: automatically add zt network ip to devices
2024-06-07 14:25:21 +02:00
Jörg Thalheim
70c86efe6f
backup: add a way to stop services before restoring a state.
2024-06-06 17:30:35 +02:00
Jörg Thalheim
46530a0a9c
postgresql: add backup and restore
2024-06-06 14:28:50 +02:00
Jörg Thalheim
c550261d40
postgresql: add new method to create users and databases
2024-06-06 14:07:56 +02:00
Jörg Thalheim
697850a24d
matrix-synapse: create with utf-8 encoding
2024-06-06 14:07:56 +02:00
Jörg Thalheim
4822fbc80e
add postgresql backup hooks
2024-06-06 13:27:30 +02:00
Jörg Thalheim
13005a2aef
matrix-enable: drop enable option
2024-06-06 13:27:30 +02:00
Jörg Thalheim
f8f9b5fe8f
matrix-synapse: create database with right collation also when postgresql already exists #1108
2024-06-06 11:11:48 +02:00
a-kenji
002611c946
syncthing: remove trailing newline
2024-06-06 08:34:08 +00:00
a-kenji
33fbf3832c
syncthing: update facts to new system
2024-06-06 08:21:31 +00:00
a-kenji
a439233968
modules/syncthing-static-peers: init
2024-06-06 09:55:57 +02:00
a-kenji
95371d31bb
borbackup-static: impl
...
Implements sane defaults implementing borgbackup
Fixes : #1551
2024-06-05 21:17:24 +00:00
a-kenji
0a338d62a6
zerotier-static-peers: filter out non existing Ip
2024-06-05 19:46:55 +02:00
a-kenji
c9ead61bbd
static-hosts: filter out non existing Ip's
2024-06-05 17:28:35 +02:00
a-kenji
07c645214f
borgbackup: try to fix
2024-06-04 16:27:53 +02:00
a-kenji
c49207e39d
zerotier-static-peers: use correct exclusion source
2024-06-03 22:53:44 +02:00
a-kenji
26a877bffe
zerotier-static-peers: add guard condition
2024-06-03 22:42:04 +02:00
Ingolf Wagner
64a4a03e08
clan.static-hosts: excludeHosts should be empty if topLevelDomain is defined.
2024-06-03 10:44:41 +00:00
Ingolf Wagner
505b455039
Add top level domain option for zerotier machines.
2024-05-29 18:40:15 +00:00
Jörg Thalheim
908fdb444f
drop deprecated mdDoc
2024-05-28 13:35:11 +02:00
a-kenji
b440ab3dba
modules: init trusted-nix-cache module
2024-05-23 09:29:31 +02:00
clan-bot
2785f59960
Merge pull request 'zerotier-static-peers: init module' ( #1400 ) from a-kenji-modules/init/static-zerotier-hosts into main
2024-05-22 10:40:41 +00:00
a-kenji
f96427fb6f
zerotier-static-peers: init module
...
Init zerotertier-static-peers module.
This module automatically configures the networkId.
It will automatically accept peers based on their zerotier-ips in the
clan flake.
2024-05-22 12:37:13 +02:00
a-kenji
420f8b57cc
user-password: set prompt to true by default
2024-05-22 12:15:26 +02:00
a-kenji
d8e0773536
modules: static hosts filter nonexistent ip
2024-05-21 17:24:14 +02:00
clan-bot
c3be19f3cd
Merge pull request 'clanModule.sshd: Deactivate password auth. Change flake template to every machine having its own disko.nix file.' ( #1389 ) from Qubasa-main into main
2024-05-20 17:14:24 +00:00
Qubasa
5a804bc327
clanModule.sshd: Deactivate password auth. Change flake template to every machine having its own disko.nix file.
2024-05-20 19:11:12 +02:00
clan-bot
42f1c52eaa
Merge pull request 'init: static-hosts module' ( #1385 ) from a-kenji-init/statix-hosts-module into main
2024-05-19 11:09:54 +00:00
a-kenji
e5f9cb0842
user-password: fix module path
...
Fixes #1381
2024-05-19 13:03:47 +02:00
a-kenji
29de5a9130
init: static-hosts module
2024-05-19 13:01:37 +02:00
Qubasa
b1dd5c2832
Add --ssh-pubkey FILE argument
2024-05-14 15:41:15 +02:00
a-kenji
7de05e8ff0
docs: user-password add admonition
2024-05-14 11:29:07 +02:00