Move Monica to REI
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
./git.nix
|
./git.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./podman.nix
|
./podman.nix
|
||||||
./monica.nix
|
|
||||||
./nextcloud.nix
|
./nextcloud.nix
|
||||||
./nginx.nix
|
./nginx.nix
|
||||||
./postgres.nix
|
./postgres.nix
|
||||||
|
|||||||
@@ -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
@@ -1,15 +1,27 @@
|
|||||||
{ ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
services = {
|
services.monica = {
|
||||||
odoo = {
|
enable = true;
|
||||||
enable = true;
|
appKeyFile = config.age.secrets.monica.path;
|
||||||
domain = "doublel.thehellings.com";
|
appURL = "https://people.thehellings.com";
|
||||||
settings.options = {
|
database = {
|
||||||
db_host = "localhost";
|
port = 5432;
|
||||||
db_port = "5432";
|
};
|
||||||
db_user = "odoo";
|
nginx = {
|
||||||
dbfilter = "^doublel.*$";
|
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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,9 +41,6 @@
|
|||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
permittedInsecurePackages = [
|
|
||||||
"qtwebkit-5.212.0-alpha4"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Base packages that need to be in all my hosts
|
# Base packages that need to be in all my hosts
|
||||||
|
|||||||
Reference in New Issue
Block a user