fmt: organised varibles for deployment
This commit is contained in:
parent
654d45a842
commit
3e942f9b73
3 changed files with 16 additions and 8 deletions
|
@ -11,9 +11,13 @@
|
|||
|
||||
{ pkgs, lib, nodes, ... }:
|
||||
let
|
||||
# name of the server, sets teh hostname and record for it
|
||||
name = "agentjones";
|
||||
|
||||
ip_pub = "193.1.99.72";
|
||||
ip_priv = "172.20.20.1";
|
||||
hostname = "agentjones.skynet.ie";
|
||||
# hostname = "${name}.skynet.ie";
|
||||
hostname = ip_pub;
|
||||
|
||||
in {
|
||||
imports = [
|
||||
|
@ -30,7 +34,7 @@ in {
|
|||
|
||||
skynet_dns.records = {
|
||||
external = [
|
||||
"agentjones A ${ip_pub}"
|
||||
"${name} A ${ip_pub}"
|
||||
];
|
||||
cname = [];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue