From 060a8f28fa1fc648bdf66afb31a5d1efac868837 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 28 Jul 2023 22:24:15 +0200 Subject: makefu: move out to own repo, add vacation-note --- makefu/1systems/wry/config.nix | 54 ------------------------------------------ makefu/1systems/wry/source.nix | 3 --- 2 files changed, 57 deletions(-) delete mode 100644 makefu/1systems/wry/config.nix delete mode 100644 makefu/1systems/wry/source.nix (limited to 'makefu/1systems/wry') diff --git a/makefu/1systems/wry/config.nix b/makefu/1systems/wry/config.nix deleted file mode 100644 index b728703ec..000000000 --- a/makefu/1systems/wry/config.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ config, lib, pkgs, ... }: - -with import ; -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 - - - - - # - - - - - # other nginx - # - - # collectd - - - - - # - ]; - - 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.ipv4.addresses = [{ - address = external-ip; - prefixLength = 24; - }]; - defaultGateway = "104.233.87.1"; - nameservers = [ "8.8.8.8" ]; - }; - - environment.systemPackages = [ pkgs.screen ]; -} diff --git a/makefu/1systems/wry/source.nix b/makefu/1systems/wry/source.nix deleted file mode 100644 index 730300590..000000000 --- a/makefu/1systems/wry/source.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ - name="wry"; -} -- cgit v1.2.3