summaryrefslogtreecommitdiffstats
path: root/lass/2configs/exim-retiolum.nix
blob: 589e17551cdbefcce1c57e08ba7c176e75ae7302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ config, lib, pkgs, ... }:

with import <stockholm/lib>;

{
  krebs.exim-retiolum = {
    enable = true;
    system-aliases = [
      { from = "root"; to = "lass"; }
    ];
  };
  krebs.iptables.tables.filter.INPUT.rules = [
    { predicate = "-i retiolum -p tcp --dport smtp"; target = "ACCEPT"; }
  ];
}