colmena: Use FQDN for deployment
Complete TODO we initially left there
This commit is contained in:
parent
a5de6d59b3
commit
52a0991bfb
1 changed files with 2 additions and 3 deletions
|
@ -55,11 +55,10 @@
|
||||||
meta.nixpkgs = import nixpkgs {
|
meta.nixpkgs = import nixpkgs {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
};
|
};
|
||||||
defaults = { name, ... }: {
|
defaults = { name, config, ... }: {
|
||||||
deployment = {
|
deployment = {
|
||||||
tags = if name == "shirley" then [ "prod" ] else [ "dev" ];
|
tags = if name == "shirley" then [ "prod" ] else [ "dev" ];
|
||||||
# TODO: It'd probably be nice to derive that from the host-configured fqdn
|
targetHost = config.networking.fqdn;
|
||||||
targetHost = "${name}.net.chaos.jetzt";
|
|
||||||
targetUser = null;
|
targetUser = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue