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" ];