mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
add bookstack
This commit is contained in:
parent
59740b07ed
commit
b3913a9337
3 changed files with 20 additions and 4 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
15
modules/users/overseer/services/bookstack.nix
Normal file
15
modules/users/overseer/services/bookstack.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
|
@ -8,5 +8,6 @@
|
|||
./homebox.nix
|
||||
./homepage.nix
|
||||
./invidious.nix
|
||||
./bookstack.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue