mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01: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
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