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
+1 -4
View File
@@ -39,10 +39,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
+1 -4
View File
@@ -39,10 +39,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
@@ -39,10 +39,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
@@ -39,10 +39,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
@@ -39,10 +39,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
@@ -39,10 +39,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
@@ -39,10 +39,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
@@ -49,10 +49,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;
};
};
@@ -39,10 +39,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
@@ -39,10 +39,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
+1 -4
View File
@@ -30,10 +30,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
+1 -4
View File
@@ -45,10 +45,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
};
+1 -4
View File
@@ -59,10 +59,7 @@ in {
};
motd = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default =
if cfg.enable
then service
else null;
default = service;
};
links = {
services = lib.mkOption {
@@ -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;
};
};
+1 -4
View File
@@ -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;
};
};
@@ -41,10 +41,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;
};
};