file cleanup, conditional motd

This commit is contained in:
2026-06-14 08:35:44 -05:00
parent fcb8961c69
commit 11d3fcd8ec
27 changed files with 407 additions and 409 deletions
@@ -42,7 +42,10 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = "podman-hass";
default =
if cfg.enable
then "podman-hass"
else null;
};
};
@@ -73,10 +76,6 @@ in {
volumes = [
"${cfg.data_dir}:/config"
];
# ports = [
# "0.0.0.0:7704:8123"
# "0.0.0.0:4141:4141"
# ];
environment = {
TZ = homelab.tz;
PUID = toString config.users.users.${service}.uid;