provide default hostname
This commit is contained in:
parent
c4612e73ec
commit
0a74fb6ac2
1 changed files with 1 additions and 8 deletions
|
|
@ -25,14 +25,7 @@ in rec {
|
||||||
(nt.types)
|
(nt.types)
|
||||||
Terminal
|
Terminal
|
||||||
;
|
;
|
||||||
|
|
||||||
missing = msg: path:
|
|
||||||
Terminal (abort ''
|
|
||||||
Each Cerulean Nexus node is required to specify ${msg}!
|
|
||||||
Ensure `cerulean.nexus.nodes.${name}.${path}` exists under your call to `cerulean.mkNexus`.
|
|
||||||
'');
|
|
||||||
in {
|
in {
|
||||||
# system = missing "its system type" "system"; # intentionally left missing!! (to raise errors)
|
|
||||||
system = "x86_64-linux"; # sane default (i hope...)
|
system = "x86_64-linux"; # sane default (i hope...)
|
||||||
extraModules = [];
|
extraModules = [];
|
||||||
specialArgs = Terminal {};
|
specialArgs = Terminal {};
|
||||||
|
|
@ -51,7 +44,7 @@ in rec {
|
||||||
confirmTimeout = 30; # timeout in seconds for profile activation confirmation
|
confirmTimeout = 30; # timeout in seconds for profile activation confirmation
|
||||||
|
|
||||||
ssh = {
|
ssh = {
|
||||||
host = missing "an SSH hostname (domain name or ip address) for deployment" "deploy.ssh.host";
|
host = name;
|
||||||
user = "ceru-build"; # ceru-build is the default connection user
|
user = "ceru-build"; # ceru-build is the default connection user
|
||||||
port = 22;
|
port = 22;
|
||||||
opts = [];
|
opts = [];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue