diff options
author | Ben Sima <ben@bsima.me> | 2020-04-03 16:43:51 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-04-03 16:43:51 -0700 |
commit | 0d37af4eba374c41a9ad3fa8d2f2251ddb6b58c5 (patch) | |
tree | 2fe862376d983f1b5470a2181defe0142c1b4560 /default.nix | |
parent | c472472df38e0dcb4abe5745d8fdec48d7e4590b (diff) |
Rename Serval to Prod
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/default.nix b/default.nix index 753483d..60b67b3 100644 --- a/default.nix +++ b/default.nix @@ -17,8 +17,6 @@ in rec { Com.Simatime.Cloud = buildOS { enableVpn = true; ipAddress = "159.89.128.69"; - vpnRsaPrivateKeyFile = "/etc/tinc/rsa_key.priv"; - vpnEd25519PrivateKeyFile = "/etc/tinc/ed25519_key.priv"; configuration = { imports = [ ./Com/Simatime/packages.nix @@ -40,7 +38,7 @@ in rec { # Com.Simatime.Dev = buildOS { enableVpn = true; - ipAddress = "69.181.254.154"; + ipAddress = "73.222.221.63"; configuration = { imports = [ ./Com/Simatime/packages.nix @@ -52,20 +50,21 @@ in rec { networking.domain = "dev.simatime.com"; }; }; - # Serval is the production server for apps + # The production server for apps # - Com.Simatime.Serval = buildOS { + Com.Simatime.Prod = buildOS { deps = { que-server = Run.Que.Server; }; configuration = { imports = [ ./Com/Simatime/packages.nix - ./Com/Simatime/Serval/hardware.nix - ./Com/Simatime/Serval/networking.nix - ./Com/Simatime/Serval/configuration.nix + ./Com/Simatime/users.nix + ./Com/Simatime/Prod/hardware.nix + ./Com/Simatime/Prod/networking.nix + ./Com/Simatime/Prod/configuration.nix ./Run/Que/service.nix ]; - networking.hostName = "serval"; - networking.domain = "serval.simatime.com"; + networking.hostName = "prod"; + networking.domain = "prod.simatime.com"; boot.enableContainers = true; }; }; |