mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
20 lines
507 B
Nix
20 lines
507 B
Nix
{
|
|
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";
|
|
};
|
|
}
|