ops/nixos: oops, try to fix my.scrapeJournal.addr
This commit is contained in:
parent
c91a42948d
commit
7b4e6c0e1b
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ in
|
||||||
};
|
};
|
||||||
options.my.scrapeJournal.addr = lib.mkOption {
|
options.my.scrapeJournal.addr = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.str;
|
type = lib.types.nullOr lib.types.str;
|
||||||
default = "${config.my.ip.tailscale}:19531";
|
default = if config.my.ip.tailscale == null then null else "${config.my.ip.tailscale}:19531";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
Loading…
Reference in a new issue