mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
(feat): replaced photoprism by nextcloud memories
This commit is contained in:
parent
86dbc6e3c4
commit
fca1497885
|
@ -1,9 +1,9 @@
|
||||||
{config, ...}:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./homelab-dashboard.nix
|
./homelab-dashboard.nix
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./photoprism.nix
|
# ./photoprism.nix
|
||||||
./grafana.nix
|
./grafana.nix
|
||||||
./forgejo.nix
|
./forgejo.nix
|
||||||
./synapse-matrix.nix
|
./synapse-matrix.nix
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
"${
|
"${
|
||||||
|
@ -24,25 +24,41 @@
|
||||||
dbtype = "pgsql";
|
dbtype = "pgsql";
|
||||||
adminpassFile = config.sops.secrets.adminNextcloudPass.path;
|
adminpassFile = config.sops.secrets.adminNextcloudPass.path;
|
||||||
};
|
};
|
||||||
settings.enabledPreviewProviders = [
|
|
||||||
"OC\\Preview\\BMP"
|
|
||||||
"OC\\Preview\\GIF"
|
|
||||||
"OC\\Preview\\JPEG"
|
|
||||||
"OC\\Preview\\Krita"
|
|
||||||
"OC\\Preview\\MarkDown"
|
|
||||||
"OC\\Preview\\MP3"
|
|
||||||
"OC\\Preview\\OpenDocument"
|
|
||||||
"OC\\Preview\\PNG"
|
|
||||||
"OC\\Preview\\TXT"
|
|
||||||
"OC\\Preview\\XBitmap"
|
|
||||||
"OC\\Preview\\HEIC"
|
|
||||||
];
|
|
||||||
|
|
||||||
settings.trustedDomains = [ "cloud.hypervirtual.world" ];
|
settings = {
|
||||||
settings.overwriteprotocol = "https";
|
enabledPreviewProviders = [
|
||||||
settings.log_type = "file";
|
"OC\\Preview\\BMP"
|
||||||
settings.default_phone_region = "FR";
|
"OC\\Preview\\GIF"
|
||||||
|
"OC\\Preview\\JPEG"
|
||||||
|
"OC\\Preview\\Krita"
|
||||||
|
"OC\\Preview\\MarkDown"
|
||||||
|
"OC\\Preview\\MP3"
|
||||||
|
"OC\\Preview\\OpenDocument"
|
||||||
|
"OC\\Preview\\PNG"
|
||||||
|
"OC\\Preview\\TXT"
|
||||||
|
"OC\\Preview\\XBitmap"
|
||||||
|
"OC\\Preview\\HEIC"
|
||||||
|
];
|
||||||
|
|
||||||
|
trustedDomains = [ "cloud.hypervirtual.world" ];
|
||||||
|
overwriteprotocol = "https";
|
||||||
|
log_type = "file"; # temporary fix for https://nixos.org/manual/nixos/stable/#module-services-nextcloud-warning-logreader
|
||||||
|
default_phone_region = "FR";
|
||||||
|
};
|
||||||
|
|
||||||
phpOptions."opcache.interned_strings_buffer" = "23";
|
phpOptions."opcache.interned_strings_buffer" = "23";
|
||||||
|
extraApps = {
|
||||||
|
inherit (config.services.nextcloud.package.packages.apps)
|
||||||
|
contacts
|
||||||
|
calendar
|
||||||
|
;
|
||||||
|
memories = pkgs.fetchNextcloudApp {
|
||||||
|
sha256 = "";
|
||||||
|
url = "https://github.com/pulsejet/memories/releases/download/v7.3.1/memories.tar.gz";
|
||||||
|
license = "agpl3Only";
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
extraAppsEnable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue