diff options
author | Vincent Ambo <tazjin@google.com> | 2019-07-02T11·48+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-07-02T11·48+0100 |
commit | e03f0630523d708e144cf340bb00dfd957e167b6 (patch) | |
tree | 6041b0ac0ddab2028488d6abf117bb783bae78ca /infra/nixos/glesys.nix | |
parent | 915a2f8464348e024e7d802b63d9f18eabd828e3 (diff) | |
parent | a131b3051428d3abe220d172f93d09880b96222f (diff) |
merge(infra): Embed infrastructure configuration into monorepo r/9
This contains DNS and NixOS module configuration.
Diffstat (limited to 'infra/nixos/glesys.nix')
-rw-r--r-- | infra/nixos/glesys.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/infra/nixos/glesys.nix b/infra/nixos/glesys.nix new file mode 100644 index 000000000000..4cd66cb19595 --- /dev/null +++ b/infra/nixos/glesys.nix @@ -0,0 +1,18 @@ +{ + sto-tazserve-1 = { pkgs, config, ... }: { + deployment.targetHost = "46.21.106.241"; + + # Configure network + networking.hostName = "sto-tazserve-1"; + networking.interfaces.ens32.ip4 = [ + { address = "46.21.106.241"; prefixLength = 23; } + ]; + networking.defaultGateway = "46.21.106.1"; + networking.nameservers = [ "195.20.206.80" "195.20.206.81" ]; + + imports = [ + ./configuration.nix + ./tazserve.nix + ]; + }; +} |