Adding minish.link

This commit is contained in:
Lyes Saadi 2026-04-03 21:07:26 +02:00
parent 6036ca99b2
commit 1db440bd1d
Signed by: lyes
GPG key ID: 55A1D803917CF39A
3 changed files with 21 additions and 5 deletions

View file

@ -12,10 +12,26 @@
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts = { virtualHosts = {
"lyes.eu" = { "minish.link" = {
serverAliases = [
"www.minish.link"
"minish.fr"
"www.minish.fr"
];
default = true; default = true;
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/" = {
root = "/var/data/www/minish.link/";
};
extraConfig = ''
error_page 404 /404.html;
'';
};
"lyes.eu" = {
serverAliases = [ "www.lyes.eu" ];
forceSSL = true;
enableACME = true;
locations."/" = { locations."/" = {
root = "/var/data/www/lyes.eu/"; root = "/var/data/www/lyes.eu/";
}; };

View file

@ -15,8 +15,8 @@
extraAppsEnable = true; extraAppsEnable = true;
extraApps = { extraApps = {
inherit (config.services.nextcloud.package.packages.apps) mail calendar contacts cospend user_oidc notes richdocuments tasks dav_push repod gpoddersync phonetrack music; # inherit (config.services.nextcloud.package.packages.apps) mail calendar contacts cospend user_oidc notes richdocuments tasks dav_push repod gpoddersync phonetrack music;
# inherit (config.services.nextcloud.package.packages.apps) mail calendar contacts cospend user_oidc notes richdocuments tasks news dav_push repod gpoddersync phonetrack music; inherit (config.services.nextcloud.package.packages.apps) mail calendar contacts cospend user_oidc notes richdocuments tasks news dav_push repod gpoddersync phonetrack music;
# gpoddersync = pkgs.fetchNextcloudApp { # gpoddersync = pkgs.fetchNextcloudApp {
# hash = "sha256-EQVs1fe0ierjqFZ5+KVc1Yj67zrwjLBAzY5A+QsC7AU="; # hash = "sha256-EQVs1fe0ierjqFZ5+KVc1Yj67zrwjLBAzY5A+QsC7AU=";
# url = "https://github.com/thrillfall/nextcloud-gpodder/releases/download/3.13.2r/gpoddersync.tar.gz"; # url = "https://github.com/thrillfall/nextcloud-gpodder/releases/download/3.13.2r/gpoddersync.tar.gz";

View file

@ -53,9 +53,9 @@ lib.mkIf (forwardedServices != { } && cfg.portForwarding.enable) {
# wantedBy = serviceList; # wantedBy = serviceList;
after = [ "wireguard.target" ] ++ encServicesList; after = [ "wireguard.target" ] ++ encServicesList;
wants = [ "wireguard.target" ]; wants = [ "wireguard.target" ] ++ encServicesList;
# preStart = "sleep 3"; preStart = "sleep 3";
path = with pkgs; [ path = with pkgs; [
libnatpmp libnatpmp