diff options
author | lassulus <lass@aidsballs.de> | 2015-09-05 12:15:31 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-09-05 12:15:31 +0200 |
commit | f3c1727659c59ff638b1adead8e30ee2f79f39de (patch) | |
tree | d8afabe7e7fb5573d238bb8c8c934bae34d72ad9 /lass/1systems | |
parent | 74137b8884b507e061985123e942a3c4ea7248fa (diff) |
lass: add echelon
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/echelon.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/lass/1systems/echelon.nix b/lass/1systems/echelon.nix new file mode 100644 index 000000000..12765a101 --- /dev/null +++ b/lass/1systems/echelon.nix @@ -0,0 +1,42 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ../../tv/2configs/CAC-Developer-2.nix + ../../tv/2configs/CAC-CentOS-7-64bit.nix + ../2configs/base.nix + ../2configs/retiolum.nix + ../2configs/fastpoke-pages.nix + ../2configs/new-repos.nix + { + networking.interfaces.enp2s1.ip4 = [ + { + address = "162.248.167.198"; + prefixLength = 24; + } + ]; + networking.defaultGateway = "162.248.167.1"; + networking.nameservers = [ + "8.8.8.8" + ]; + + } + ]; + + krebs.build = { + user = config.krebs.users.lass; + target = "root@162.248.167.198"; + host = config.krebs.hosts.echelon; + deps = { + secrets = { + url = "/home/lass/secrets/${config.krebs.build.host.name}"; + }; + stockholm = { + url = toString ../..; + }; + }; + }; + + networking.hostName = "cloudkrebs"; + +} |