Switch from coreos to nixos

This commit is contained in:
2025-04-25 15:08:56 +10:00
parent 472b198618
commit 793d77dce9
51 changed files with 2874 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
datacenter = "jaglan-beta"
#data_dir = "/var/lib/nomad"
#plugin_dir = "/usr/local/lib/nomad/plugins"
server {
enabled = true
bootstrap_expect = 1
server_join {
retry_join = ["jaglan-beta-m01", "jaglan-beta-m42"]
}
}
tls {
http = true
rpc = true
ca_file = "/etc/nomad.certs/nomad-ca.pem"
cert_file = "/etc/nomad.certs/server.pem"
key_file = "/etc/nomad.certs/server-key.pem"
verify_server_hostname = true
verify_https_client = true
}