some more stuff, mostly book stack

This commit is contained in:
infra 2022-10-03 08:15:11 +00:00
parent 6595ad0bfc
commit 28f4be1bfa
3 changed files with 13 additions and 4 deletions

View file

@ -1,13 +1,14 @@
{ pkgs, ... }:
{
age.secrets."bookstack-app-file-key".file = ../secrets/bookstack-app-file-key.age;
age.secrets."bookstack-app-file-key".owner = "bookstack";
services.bookstack = {
enable = true;
hostname = "wiki.sincerity.network";
# appKeyFile = "/run/secrets/bookstack-app-key";
appKeyFile = "/home/infra/app-key-file"; # TODO use agenix
appKeyFile = "/run/agenix/bookstack-app-file-key";
nginx = {
serverName = "wiki.mutualaid.work";
serverName = "wiki.sincerity.network";
listenAddresses = [ "0.0.0.0" ];
forceSSL = true;
enableACME = true;

View file

@ -7,7 +7,7 @@
# Import your generated (nixos-generate-config) hardware configuration
./hardware-configuration.nix
./vault-warden.nix
# ./book-stack.nix
./book-stack.nix
# ./bonfire.nix
./mumble.nix
];

View file

@ -0,0 +1,8 @@
age-encryption.org/v1
-> ssh-ed25519 gm2l9w rbcxQCRvrPZ8fpkJVAYORMvcZDW3W+U4cTffMgF4Jkc
GGq3QOlsKaZbSjlosCb3hDix2/BI6bLyriBTqZbAv6Y
-> $d-FD:-grease E =s%
UyDWgsHQwFtEQj4m7lBaHq9EH9LmZI8Z9/T5QUn9acYX9V0
--- atlTfS4hkVQXzaWulmfSWdMuWgf4+ar7js2eFPz6V2g
Äìrs{J¢ €#Û»$Úú€Ò4n?aàtm
Þ“ x&8v<>•ƒÒËÖ1?¿gø¤Àü‘Ûç´&$1ËAÀ0Kƒƒ³o¬Mü­äj