summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/wry.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-07-15 18:57:16 +0200
committermakefu <github@syntax-fehler.de>2017-07-15 18:57:16 +0200
commitfa38155eec9563dc9dc620a77900d87b97443cfe (patch)
tree6000436cba63e03a21556fb6c2d6ebb67eb5b3b0 /makefu/1systems/wry.nix
parent3698f2a40c2db7df0888974c9b2e347947088a98 (diff)
ma: move systems to subdir, init source
Diffstat (limited to 'makefu/1systems/wry.nix')
-rw-r--r--makefu/1systems/wry.nix54
1 files changed, 0 insertions, 54 deletions
diff --git a/makefu/1systems/wry.nix b/makefu/1systems/wry.nix
deleted file mode 100644
index f5097bf40..000000000
--- a/makefu/1systems/wry.nix
+++ /dev/null
@@ -1,54 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with import <stockholm/lib>;
-let
-
- external-ip = config.krebs.build.host.nets.internet.ip4.addr;
- internal-ip = config.krebs.build.host.nets.retiolum.ip4.addr;
-in {
- imports = [
- ../.
- # TODO: copy this config or move to krebs
- ../2configs/hw/CAC.nix
- ../2configs/fs/CAC-CentOS-7-64bit.nix
- ../2configs/save-diskspace.nix
-
- # ../2configs/bepasty-dual.nix
-
- ../2configs/iodined.nix
- ../2configs/backup.nix
-
- # other nginx
- # ../2configs/nginx/euer.test.nix
-
- # collectd
- ../2configs/stats/client.nix
- ../2configs/logging/client.nix
-
- ../2configs/tinc/retiolum.nix
- # ../2configs/torrent.nix
- ];
-
- krebs.build.host = config.krebs.hosts.wry;
-
- # prepare graphs
- services.nginx.enable = true;
- krebs.retiolum-bootstrap.enable = true;
-
- networking = {
- firewall = {
- allowPing = true;
- logRefusedConnections = false;
- allowedTCPPorts = [ 53 80 443 ];
- allowedUDPPorts = [ 655 53 ];
- };
- interfaces.enp2s1.ip4 = [{
- address = external-ip;
- prefixLength = 24;
- }];
- defaultGateway = "104.233.87.1";
- nameservers = [ "8.8.8.8" ];
- };
-
- environment.systemPackages = [ pkgs.screen ];
-}