summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix19
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;
};
};