summaryrefslogtreecommitdiffstats
path: root/lass/1systems/red/config.nix
blob: 3139e94a2dfdb403325c41afe5173e89e5616b7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
with import <stockholm/lib>;
{ config, lib, pkgs, ... }:
let
  inherit (import <stockholm/lass/2configs/websites/util.nix> {inherit lib pkgs;})
    servephpBB
  ;
in
{
  imports = [
    <stockholm/lass>
    <stockholm/lass/2configs>
    <stockholm/lass/2configs/retiolum.nix>
    <stockholm/lass/2configs/websites>
    <stockholm/lass/2configs/websites/sqlBackup.nix>
    (servephpBB [ "rote-allez-fraktion.de" ])
  ];

  krebs.iptables.tables.filter.INPUT.rules = [
    { predicate = "-p tcp --dport 80"; target = "ACCEPT"; }
  ];

  krebs.build.host = config.krebs.hosts.red;

  services.nginx.enable = true;
  environment.systemPackages = [
    pkgs.mk_sql_pair
  ];
}