add bookstack

This commit is contained in:
TheWanderingCrow 2025-01-25 16:58:38 -05:00
parent 59740b07ed
commit b3913a9337
3 changed files with 20 additions and 4 deletions

8
flake.lock generated
View file

@ -219,11 +219,11 @@
},
"nix-secrets": {
"locked": {
"lastModified": 1737562069,
"narHash": "sha256-UQ8JStHlwcHjNbcl+y78UrjT7WvhyBHuZ1kGTTM7cAE=",
"lastModified": 1737825569,
"narHash": "sha256-5VkFZ00n/qDyrGZRNAbpDrLtUYuVpIAB33C2kY8otCA=",
"ref": "refs/heads/master",
"rev": "271aeb365cc6783dec240460faf04ba37846d6a7",
"revCount": 23,
"rev": "63cac5afb18c5fcb9e11b560b20e4941d9b4caf4",
"revCount": 24,
"type": "git",
"url": "ssh://git@github.com/TheWanderingCrow/nix-secrets"
},

View file

@ -0,0 +1,15 @@
{
lib,
config,
...
}:
lib.mkIf config.user.overseer.enable {
sops.secrets."bookstack/key" = {};
services.bookstack = {
enable = true;
hostname = "bookstack.wanderingcrow.net";
database.createLocally = true;
appKeyFile = config.sops.secrets."bookstack/key".path;
};
}

View file

@ -8,5 +8,6 @@
./homebox.nix
./homepage.nix
./invidious.nix
./bookstack.nix
];
}