Add monica

This commit is contained in:
Greg Hellings
2023-09-07 23:47:24 +00:00
parent 84590364fe
commit 85dde96c15
5 changed files with 260 additions and 3 deletions
+28
View File
@@ -0,0 +1,28 @@
{ config, ... }:
{
services.monica = {
enable = true;
appKeyFile = config.age.secrets.monica.path;
appURL = "https://people.thehellings.com";
database = {
port = 5432;
};
nginx = {
addSSL = true;
enableACME = true;
serverAliases = [ "people.thehellings.com" ];
};
};
age.secrets.monica = {
file = ../../secrets/monica.age;
owner = "monica";
};
greg.backup.jobs.monica = {
src = "/var/lib/monica";
dest = "monica";
user = "monica";
};
}