Platform 23.11 #96
1 changed files with 12 additions and 3 deletions
|
@ -51,7 +51,16 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
dns.records = lib.genAttrs [ "www" "draw" "stop-using-nix-env" "whoami" ] (lib.const {
|
||||
dns.records = lib.mkMerge [
|
||||
(lib.genAttrs [ "www" "draw" "stop-using-nix-env" "whoami" ] (lib.const {
|
||||
consulService = "static-lb";
|
||||
});
|
||||
}))
|
||||
{
|
||||
CNAME = {
|
||||
name = "@";
|
||||
type = "CNAME";
|
||||
target = [ "www.${domain}." ];
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue