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