ops/nixos: oops, try to fix my.scrapeJournal.addr

This commit is contained in:
Luke Granger-Brown 2022-01-01 15:14:02 +00:00
parent c91a42948d
commit 7b4e6c0e1b

View file

@ -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 = {