test automatical inculstion in motd

This commit is contained in:
2026-06-14 07:56:34 -05:00
parent 85a97ddb47
commit fcb8961c69
3 changed files with 35 additions and 25 deletions
@@ -38,7 +38,10 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = "velocity";
default =
if cfg.enable
then "velocity"
else null;
};
backup_repo = lib.mkOption {
type = lib.types.path;