chore: adapt machine creation to meta module

This commit is contained in:
Luj 2024-08-10 17:59:19 +02:00
parent 9e9a7027e9
commit cc59392716
Signed by: luj
GPG key ID: 6FC74C847011FD83
2 changed files with 6 additions and 7 deletions

View file

@ -11,7 +11,7 @@ in
config = mkIf cfg.enable {
deployment = {
targetHost = "${hostname}.${lib.luj.machines.${hostname}.tld}";
targetHost = "${hostname}.${config.machine.meta.tld}";
targetPort = 45;
targetUser = "root";
allowLocalDeployment = true;
@ -20,4 +20,3 @@ in
};
}