zammad setup

This commit is contained in:
Clara Dautermann 2025-04-08 19:06:54 +02:00
parent 0ac3bbfbe2
commit df35107001
2 changed files with 17 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{ lib, pkgs, config, ... }: { { lib, pkgs, config, ... }: {
deployment = { deployment = {
targetHost = "192.168.178.50"; targetHost = "192.168.178.58";
targetPort = 22; targetPort = 22;
targetUser = "root"; targetUser = "root";
}; };
@ -13,5 +13,6 @@
]; ];
imports = [ imports = [
../container_config.nix ../container_config.nix
../services/zammad.nix
]; ];
} }

View file

@ -0,0 +1,15 @@
{ lib, pkgs, config, ... }: {
services.zammad = {
enable = true;
openPorts = true;
host = "10.8.1.3";
database.createLocally = true;
redis.createLocally = true;
};
networking.firewall.allowedTCPPorts = [
config.services.zammad.port
config.services.zammad.websocketPort
];
}