mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-18 13:04:12 -05:00
add matrix plus rclone
This commit is contained in:
parent
f101eb6b2e
commit
8bc703957f
2 changed files with 20 additions and 0 deletions
19
modules/users/overseer/services/matrix.nix
Normal file
19
modules/users/overseer/services/matrix.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.user.overseer.enable {
|
||||
############
|
||||
# Database #
|
||||
############
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "matrix-synapse";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue