Compare commits

..

1 Commits

Author SHA1 Message Date
Adrian Gunnar Lauterer 898e678e8e added shiori bookmark and archiver 2024-05-23 21:02:27 +02:00
3 changed files with 4 additions and 50 deletions

View File

@ -1,15 +1,6 @@
{ config, pkgs, lib, ... }:
{
services.nginx = {
virtualHosts."lauterer.it" = {
forceSSL = true;
useACMEHost = config.networking.domain;
locations."/" = {
proxyWebsockets = true;
proxyPass = "http://100.84.215.84";
};
};
virtualHosts."managment.lauterer.it" = {
forceSSL = true;
useACMEHost = config.networking.domain;
@ -70,10 +61,8 @@
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
};
#virtualHosts."shiori.lauterer.it" = config.services.nginx.virtualHosts."archive.lauterer.it";
#virtualHosts."pocket.lauterer.it" = config.services.nginx.virtualHosts."archive.lauterer.it";
#virtualHosts."bookmarks.lauterer.it" = config.services.nginx.virtualHosts."archive.lauterer.it";
};
virtualHosts."archive.lauterer.it" = {
forceSSL = true;
useACMEHost = config.networking.domain;
@ -81,10 +70,10 @@
proxyWebsockets = true;
proxyPass = "http://100.84.215.84:8082";
};
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
};
};
}

View File

@ -19,7 +19,6 @@
../../profiles/mediaserver.nix
../../services/smb.nix
../../services/wordpress.nix
../../services/torrent.nix
../../services/mc.nix
#../../services/stableDiffusion.nix

View File

@ -1,34 +0,0 @@
{ config, lib, pkgs, ... }: let
wordpress-theme = pkgs.stdenv.mkDerivation rec {
name = "responsive";
version = "4.7.9";
src = pkgs.fetchzip {
url = "https://downloads.wordpress.org/theme/responsive.${version}.zip";
hash = "sha256-7K/pwD1KAuipeOAOLXd2wqOUEhwk+uNGIllVWzDHzp0=";
};
installPhase = "mkdir -p $out; cp -R * $out/";
};
in {
services.wordpress.sites."lauterer.it" = {
languages = [
pkgs.wordpressPackages.languages.de_DE
];
settings = {
WPLANG = "de_DE";
};
#themes = {
# inherit wordpress-theme;
#};
plugins = with pkgs.wordpressPackages.plugins; [
#anti-spam-bee
code-syntax-block
cookie-notice
#lightbox-with-photoswipe
wp-gdpr-compliance
];
};
}