summaryrefslogtreecommitdiffstats
path: root/1systems
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-06-12 19:48:15 +0200
committermakefu <github@syntax-fehler.de>2016-06-12 19:48:15 +0200
commit3c3bfadbf77fbf40ac74524179d08b769bea675d (patch)
tree74ce8e2bb2d6d8a7b3ef4096164dbbab7f8a8b0d /1systems
parent710063d69a8a60e465fada6e81749eb121f898f3 (diff)
m shoney: init
Diffstat (limited to '1systems')
-rw-r--r--1systems/shoney.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/1systems/shoney.nix b/1systems/shoney.nix
new file mode 100644
index 000000000..ebe5222c3
--- /dev/null
+++ b/1systems/shoney.nix
@@ -0,0 +1,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" ];
+}