mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Add office capability to nextcloud
This commit is contained in:
parent
78f25ad322
commit
381da3110c
2 changed files with 22 additions and 3 deletions
|
|
@ -47,7 +47,7 @@
|
|||
};
|
||||
|
||||
configureRedis = true;
|
||||
maxUploadSize = "4G";
|
||||
maxUploadSize = "16G";
|
||||
phpOptions."opcache.interned_strings_buffer" = "16";
|
||||
|
||||
autoUpdateApps = {
|
||||
|
|
@ -55,11 +55,10 @@
|
|||
startAt = "04:00:00";
|
||||
};
|
||||
extraApps = {
|
||||
inherit (config.services.nextcloud.package.packages.apps) contacts calendar;
|
||||
inherit (config.services.nextcloud.package.packages.apps) contacts calendar onlyoffice;
|
||||
};
|
||||
};
|
||||
|
||||
myConfig.tailscale.serve = "80";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
20
hosts/stratus/containers/onlyoffice/default.nix
Normal file
20
hosts/stratus/containers/onlyoffice/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
containers.onlyoffice.config =
|
||||
{ config, ... }:
|
||||
{
|
||||
sops.secrets."onlyoffice-secret-key" = {
|
||||
owner = config.users.users.onlyoffice.name;
|
||||
inherit (config.users.users.onlyoffice) group;
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
services.onlyoffice = {
|
||||
enable = true;
|
||||
hostname = "onlyoffice.stork-atlas.ts.net";
|
||||
jwtSecretFile = config.sops.secrets."onlyoffice-secret-key".path;
|
||||
};
|
||||
|
||||
myConfig.tailscale.serve = "8000";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue