mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21: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;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.luj.deployment;
|
cfg = config.luj.deployment;
|
||||||
hostname = config.networking.hostName;
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -11,7 +10,7 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
deployment = {
|
deployment = {
|
||||||
targetHost = lib.mkDefault "${hostname}.${config.machine.meta.tld}";
|
targetHost = lib.mkDefault config.machine.meta.ips.vpn.ipv4;
|
||||||
targetPort = lib.mkDefault 45;
|
targetPort = lib.mkDefault 45;
|
||||||
targetUser = lib.mkDefault "root";
|
targetUser = lib.mkDefault "root";
|
||||||
allowLocalDeployment = lib.mkDefault true;
|
allowLocalDeployment = lib.mkDefault true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue