blob: 48679fe58cb286cc0d5375b561a1e6eb0e6109d2 (
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
29
30
31
32
33
34
35
36
37
38
|
{ config, pkgs, ... }:
let
ip = "64.137.234.215";
alt-ip = "64.137.234.210";
extra-ip = "64.137.234.114"; #currently unused
gw = "64.137.234.1";
in {
imports = [
../.
../2configs/hw/CAC.nix
../2configs/fs/CAC-CentOS-7-64bit.nix
];
services.tinc.networks.siem.name = "sjump";
# minimal resources
services.nixosManual.enable = false;
programs.man.enable = false;
nix.gc.automatic = true;
nix.gc.dates = "03:10";
krebs = {
enable = true;
retiolum.enable = true;
build.host = config.krebs.hosts.shoney;
};
networking.interfaces.enp2s1.ip4 = [
{ address = ip; prefixLength = 24; }
{ address = alt-ip; prefixLength = 24; }
];
networking.defaultGateway = gw;
networking.nameservers = [ "8.8.8.8" ];
networking.firewall.allowedUDPPorts = [ 655 1655 ];
networking.firewall.allowedTCPPorts = [ 655 1655 ];
}
|