move condiditon to motd script

This commit is contained in:
2026-06-14 09:12:20 -05:00
parent 982d208b13
commit c1ae91491a
20 changed files with 20 additions and 80 deletions
@@ -42,10 +42,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then "podman-hass"
else null;
default = "podman-hass";
};
};
@@ -40,10 +40,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
@@ -40,10 +40,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};