file cleanup, conditional motd

This commit is contained in:
2026-06-14 08:36:07 -05:00
parent 11d3fcd8ec
commit 5bb3d44c8c
+4 -1
View File
@@ -42,7 +42,10 @@ in {
}; };
motd = lib.mkOption { motd = lib.mkOption {
type = lib.types.nullOr lib.types.str; type = lib.types.nullOr lib.types.str;
default = if cfg.enable then "immich-server" else null;; default =
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;