Adding collabora
This commit is contained in:
parent
fea6d8fb0a
commit
2462658f32
3 changed files with 42 additions and 0 deletions
28
modules/server/baba/collabora.nix
Normal file
28
modules/server/baba/collabora.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.collabora-online = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
ssl = {
|
||||
enable = false;
|
||||
termination = true;
|
||||
};
|
||||
|
||||
net = {
|
||||
listen = "loopback";
|
||||
post_allow.host = ["::1" "172.0.0.1"];
|
||||
};
|
||||
|
||||
# ouvre seulement les fichiers depuis nextcloud
|
||||
storage.wopi = {
|
||||
"@allow" = true;
|
||||
host = ["cloud.lyes.eu"];
|
||||
};
|
||||
|
||||
server_name = "collabora.lyes.eu";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -1,6 +1,10 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./collabora.nix
|
||||
];
|
||||
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud32;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue