add bookstack configuration

This commit is contained in:
shobu
2025-12-24 17:43:45 +01:00
parent 273066c74a
commit 009dc9373f
2 changed files with 15 additions and 0 deletions

14
hosts/sin/bookstack.nix Normal file
View File

@@ -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;
}
;
};
}

View File

@@ -17,6 +17,7 @@
./secrets.nix ./secrets.nix
./coredns ./coredns
./copyparty.nix ./copyparty.nix
./bookstack.nix
]; ];
boot.initrd.kernelModules = [ "usb_storage" ]; boot.initrd.kernelModules = [ "usb_storage" ];