mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 07:00:21 +02:00
Compare commits
No commits in common. "7dd0e90312a8612a0c9dd68c4b538eecd6338e03" and "efa25914cb480a39a8ea594228d078d86af8a45e" have entirely different histories.
7dd0e90312
...
efa25914cb
3 changed files with 27 additions and 30 deletions
|
@ -4,6 +4,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
|
":5050".extraConfig = ''
|
||||||
|
reverse_proxy :8083
|
||||||
|
'';
|
||||||
|
|
||||||
"http://sisyphe.normandy.hypervirtual.world".extraConfig = ''
|
"http://sisyphe.normandy.hypervirtual.world".extraConfig = ''
|
||||||
reverse_proxy :8003
|
reverse_proxy :8003
|
||||||
'';
|
'';
|
||||||
|
@ -12,6 +16,10 @@
|
||||||
reverse_proxy :3333
|
reverse_proxy :3333
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
"http://photos.hypervirtual.world".extraConfig = ''
|
||||||
|
reverse_proxy :2342
|
||||||
|
'';
|
||||||
|
|
||||||
"http://books.hypervirtual.world".extraConfig = ''
|
"http://books.hypervirtual.world".extraConfig = ''
|
||||||
reverse_proxy :8083
|
reverse_proxy :8083
|
||||||
'';
|
'';
|
||||||
|
@ -20,6 +28,10 @@
|
||||||
reverse_proxy :3030
|
reverse_proxy :3030
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
":2344".extraConfig = ''
|
||||||
|
reverse_proxy :2342
|
||||||
|
'';
|
||||||
|
|
||||||
"http://jellyfin.sisyphe.normandy.hypervirtual.world".extraConfig = ''
|
"http://jellyfin.sisyphe.normandy.hypervirtual.world".extraConfig = ''
|
||||||
reverse_proxy :8096
|
reverse_proxy :8096
|
||||||
'';
|
'';
|
||||||
|
@ -51,10 +63,6 @@
|
||||||
"http://status.normandy.hypervirtual.world".extraConfig = ''
|
"http://status.normandy.hypervirtual.world".extraConfig = ''
|
||||||
reverse_proxy :4000
|
reverse_proxy :4000
|
||||||
'';
|
'';
|
||||||
|
|
||||||
"http://transmission.normandy.hypervirtual.world".extraConfig = ''
|
|
||||||
reverse_proxy :9091
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
{
|
{ config, pkgs, ... }:
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
"${
|
"${
|
||||||
|
@ -49,16 +44,8 @@
|
||||||
overwriteprotocol = "https";
|
overwriteprotocol = "https";
|
||||||
log_type = "file"; # temporary fix for https://nixos.org/manual/nixos/stable/#module-services-nextcloud-warning-logreader
|
log_type = "file"; # temporary fix for https://nixos.org/manual/nixos/stable/#module-services-nextcloud-warning-logreader
|
||||||
default_phone_region = "FR";
|
default_phone_region = "FR";
|
||||||
default_locale = "fr_FR";
|
|
||||||
default_language = "fr";
|
|
||||||
default_timezone = "Europe/Paris";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
phpExtraExtensions = all: [
|
|
||||||
all.pdlib
|
|
||||||
all.redis
|
|
||||||
all.bz2
|
|
||||||
];
|
|
||||||
phpOptions."opcache.interned_strings_buffer" = "23";
|
phpOptions."opcache.interned_strings_buffer" = "23";
|
||||||
extraApps = {
|
extraApps = {
|
||||||
inherit (config.services.nextcloud.package.packages.apps)
|
inherit (config.services.nextcloud.package.packages.apps)
|
||||||
|
@ -73,24 +60,20 @@
|
||||||
url = "https://github.com/pulsejet/memories/releases/download/v7.3.1/memories.tar.gz";
|
url = "https://github.com/pulsejet/memories/releases/download/v7.3.1/memories.tar.gz";
|
||||||
license = "agpl3Only";
|
license = "agpl3Only";
|
||||||
};
|
};
|
||||||
/*
|
|
||||||
not useful for me
|
registration = pkgs.fetchNextcloudApp {
|
||||||
registration = pkgs.fetchNextcloudApp {
|
sha256 = "sha256-dDaQHyHdkkd8ZammLdck2HNGqqfEaunwevdPzbWzB8Y=";
|
||||||
sha256 = "sha256-dDaQHyHdkkd8ZammLdck2HNGqqfEaunwevdPzbWzB8Y=";
|
url = "https://github.com/nextcloud-releases/registration/releases/download/v2.4.0/registration-v2.4.0.tar.gz";
|
||||||
url = "https://github.com/nextcloud-releases/registration/releases/download/v2.4.0/registration-v2.4.0.tar.gz";
|
license = "agpl3Only";
|
||||||
license = "agpl3Only";
|
};
|
||||||
};
|
|
||||||
*/
|
|
||||||
facerecognition = pkgs.fetchNextcloudApp {
|
facerecognition = pkgs.fetchNextcloudApp {
|
||||||
sha256 = "1dfpmnyyrjyn7wbjfj3w072rzfl7zwm8ppphgsg8ampw2dy7y6yk";
|
sha256 = "sha256-1dfpmnyyrjyn7wbjfj3w072rzfl7zwm8ppphgsg8ampw2dy7y6yk";
|
||||||
url = "https://github.com/matiasdelellis/facerecognition/releases/download/v0.9.51/facerecognition.tar.gz";
|
url = "https://github.com/matiasdelellis/facerecognition/releases/download/v0.9.51/facerecognition.tar.gz";
|
||||||
license = "agpl3Only";
|
license = "agpl3Only";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
extraAppsEnable = true;
|
extraAppsEnable = true;
|
||||||
appstoreEnable = true; # why i would want appstore to be disabled ???
|
|
||||||
autoUpdateApps.enable = true;
|
|
||||||
extraOptions."memories.exiftool" = "${lib.getExe pkgs.exiftool}";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,12 @@ in
|
||||||
22 # ssh
|
22 # ssh
|
||||||
8008 # matrix-synapse
|
8008 # matrix-synapse
|
||||||
8448 # matrix-synapse
|
8448 # matrix-synapse
|
||||||
|
3030
|
||||||
|
3333
|
||||||
|
2344
|
||||||
|
4000
|
||||||
|
5050 # calibre-web
|
||||||
|
9091 # transmission
|
||||||
];
|
];
|
||||||
allowedUDPPorts = [ ];
|
allowedUDPPorts = [ ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue