mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
123
This commit is contained in:
@@ -11,6 +11,11 @@ let
|
|||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
work = import inputs.nixpkgs-stable {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
config.allowUnfree = true;
|
||||||
|
config.allowUnfreePredicate = true;
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
@@ -120,11 +125,15 @@ in
|
|||||||
};
|
};
|
||||||
onlyoffice = {
|
onlyoffice = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = work.onlyoffice-documentserver;
|
||||||
hostname = "0.0.0.0";
|
hostname = "0.0.0.0";
|
||||||
jwtSecretFile = "${inputs.zeroq-credentials}/services/onlyoffice/jwt.txt";
|
jwtSecretFile = "${inputs.zeroq-credentials}/services/onlyoffice/jwt.txt";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fonts.fonts = [ work.corefonts ];
|
||||||
|
|
||||||
|
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
# "localhost" = [
|
# "localhost" = [
|
||||||
# "nextcloud.zeroq.ru"
|
# "nextcloud.zeroq.ru"
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ in
|
|||||||
};
|
};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
client_max_body_size 5G;
|
client_max_body_size 5G;
|
||||||
|
header_up X-Forwarded-Proto https
|
||||||
''; # absolute_redirect off;
|
''; # absolute_redirect off;
|
||||||
};
|
};
|
||||||
"immich.zeroq.ru" = {
|
"immich.zeroq.ru" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user