summaryrefslogtreecommitdiffstats
path: root/makefu
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
commitb9c0c46b4d0f9907f1b3fc96494be96abc60c8db (patch)
tree07e38c1b08f942ff99957efc151bd0ae2895a87a /makefu
parent7dd825bed421a773db185983fdc50d2b5f704c59 (diff)
m shoney: init
Diffstat (limited to 'makefu')
-rw-r--r--makefu/1systems/shoney.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/makefu/1systems/shoney.nix b/makefu/1systems/shoney.nix
new file mode 100644
index 00000000..ebe5222c
--- /dev/null
+++ b/makefu/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" ];
+}