some more stuff, mostly book stack
This commit is contained in:
parent
6595ad0bfc
commit
28f4be1bfa
|
@ -1,13 +1,14 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
age.secrets."bookstack-app-file-key".file = ../secrets/bookstack-app-file-key.age;
|
||||||
|
age.secrets."bookstack-app-file-key".owner = "bookstack";
|
||||||
services.bookstack = {
|
services.bookstack = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostname = "wiki.sincerity.network";
|
hostname = "wiki.sincerity.network";
|
||||||
# appKeyFile = "/run/secrets/bookstack-app-key";
|
appKeyFile = "/run/agenix/bookstack-app-file-key";
|
||||||
appKeyFile = "/home/infra/app-key-file"; # TODO use agenix
|
|
||||||
nginx = {
|
nginx = {
|
||||||
serverName = "wiki.mutualaid.work";
|
serverName = "wiki.sincerity.network";
|
||||||
listenAddresses = [ "0.0.0.0" ];
|
listenAddresses = [ "0.0.0.0" ];
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# Import your generated (nixos-generate-config) hardware configuration
|
# Import your generated (nixos-generate-config) hardware configuration
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./vault-warden.nix
|
./vault-warden.nix
|
||||||
# ./book-stack.nix
|
./book-stack.nix
|
||||||
# ./bonfire.nix
|
# ./bonfire.nix
|
||||||
./mumble.nix
|
./mumble.nix
|
||||||
];
|
];
|
||||||
|
|
8
secrets/bookstack-app-file-key.age
Normal file
8
secrets/bookstack-app-file-key.age
Normal 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
|
Loading…
Reference in a new issue