mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-23 20:30:52 +01:00
chore(deployment): use ips instead of fqdn
This commit is contained in:
parent
1c8f6134f3
commit
d811ab8ac1
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.luj.deployment;
|
||||
hostname = config.networking.hostName;
|
||||
in
|
||||
{
|
||||
|
||||
|
@ -11,7 +10,7 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
|
||||
deployment = {
|
||||
targetHost = lib.mkDefault "${hostname}.${config.machine.meta.tld}";
|
||||
targetHost = lib.mkDefault config.machine.meta.ips.vpn.ipv4;
|
||||
targetPort = lib.mkDefault 45;
|
||||
targetUser = lib.mkDefault "root";
|
||||
allowLocalDeployment = lib.mkDefault true;
|
||||
|
|
Loading…
Add table
Reference in a new issue