From 009dc9373f4bd18bd8e10aaf37d8f1afdee4a74f Mon Sep 17 00:00:00 2001 From: shobu Date: Wed, 24 Dec 2025 17:43:45 +0100 Subject: [PATCH] add bookstack configuration --- hosts/sin/bookstack.nix | 14 ++++++++++++++ hosts/sin/configuration.nix | 1 + 2 files changed, 15 insertions(+) create mode 100644 hosts/sin/bookstack.nix diff --git a/hosts/sin/bookstack.nix b/hosts/sin/bookstack.nix new file mode 100644 index 0000000..85a1a63 --- /dev/null +++ b/hosts/sin/bookstack.nix @@ -0,0 +1,14 @@ +{...}: { + services.bookstack = { + enable = true; + nginx = { + serverAliases = [ + "bookstack.shobu.fr" + ]; + # To enable encryption and let let's encrypt take care of certificate + forceSSL = true; + enableACME = true; + } + ; + }; +} diff --git a/hosts/sin/configuration.nix b/hosts/sin/configuration.nix index 1a72f7c..6b1fea9 100644 --- a/hosts/sin/configuration.nix +++ b/hosts/sin/configuration.nix @@ -17,6 +17,7 @@ ./secrets.nix ./coredns ./copyparty.nix + ./bookstack.nix ]; boot.initrd.kernelModules = [ "usb_storage" ];