summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/shoney.nix
blob: ebe5222c378fee0a2ed4d1dee2e48285b1cb5aac (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
{ config, pkgs, ... }:
let
  ip = "64.137.235.70";
  gw = "64.137.235.1";
in {
  imports = [
    ../.
    ../../tv/2configs/hw/CAC.nix
    ../../tv/2configs/fs/CAC-CentOS-7-64bit.nix

  ];

  # 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;
  } ];
  networking.defaultGateway = gw;
  networking.nameservers = [ "8.8.8.8" ];
}