Move Monica to REI

This commit is contained in:
Greg Hellings
2023-09-08 03:59:50 +00:00
parent 0cc4b53821
commit a74f68c59c
4 changed files with 23 additions and 43 deletions
-1
View File
@@ -5,7 +5,6 @@
./git.nix
./hardware-configuration.nix
./podman.nix
./monica.nix
./nextcloud.nix
./nginx.nix
./postgres.nix
-28
View File
@@ -1,28 +0,0 @@
{ 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";
};
}
+23 -11
View File
@@ -1,15 +1,27 @@
{ ... }:
{ config, ... }:
{
services = {
odoo = {
enable = true;
domain = "doublel.thehellings.com";
settings.options = {
db_host = "localhost";
db_port = "5432";
db_user = "odoo";
dbfilter = "^doublel.*$";
};
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";
};
}
-3
View File
@@ -41,9 +41,6 @@
nixpkgs.config = {
allowUnfree = true;
permittedInsecurePackages = [
"qtwebkit-5.212.0-alpha4"
];
};
# Base packages that need to be in all my hosts