conditional motd in the motd config
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user