mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
add matrix plus rclone
This commit is contained in:
parent
f101eb6b2e
commit
8bc703957f
2 changed files with 20 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
usbutils
|
||||
fastfetch
|
||||
attic-client
|
||||
rclone
|
||||
]
|
||||
else []
|
||||
)
|
||||
|
|
|
|||
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