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 { motd = lib.mkOption {
type = lib.types.nullOr lib.types.str; type = lib.types.nullOr lib.types.str;
default = default = "immich-server";
if cfg.enable
then "immich-server"
else null;
}; };
library_sync_dir = lib.mkOption { library_sync_dir = lib.mkOption {
type = lib.types.str; type = lib.types.str;