motd make gameservers inclusion more conditional

This commit is contained in:
2026-06-14 13:48:44 -05:00
parent a97b7fb2c3
commit 6b0744330b
+2 -1
View File
@@ -93,7 +93,7 @@ in {
motd_list)}
echo
${lib.optionalString (motd_gs_list != []) ''
# --- gameservers ---
echo -e "''${headings}gameservers:''${reset}"
${lib.concatStringsSep "\n" (map (service: ''
@@ -106,6 +106,7 @@ in {
fi
'')
motd_gs_list)}
''}
'';
environment.etc."motd".mode = "0755";