conditional motd in the motd config

This commit is contained in:
2026-06-14 09:02:57 -05:00
parent 7c18ecebab
commit f07bbbef01
+1 -4
View File
@@ -42,10 +42,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then "immich-server"
else null;
default = "immich-server";
};
library_sync_dir = lib.mkOption {
type = lib.types.str;