merge-nixconfigs #14

Merged
jahanson merged 4 commits from merge-nixconfigs into main 2024-05-31 00:26:21 -05:00
Showing only changes of commit 8c70906d0f - Show all commits

View file

@ -53,8 +53,9 @@ let
zpool list -Ho name,cap,size | awk '{ printf("%-10s%+3s used out of %+5s\n", $1, $2, $3); }' | sed -e 's/^/ /' zpool list -Ho name,cap,size | awk '{ printf("%-10s%+3s used out of %+5s\n", $1, $2, $3); }' | sed -e 's/^/ /'
fi fi
printf "\n" printf "\n"
printf "$BOLDService status$ENDCOLOR\n"
if [[ -n "$service_status" ]]; then
printf "$BOLDService status$ENDCOLOR\n"
while IFS= read -r line; do while IFS= read -r line; do
if [[ $line =~ ".scope" ]]; then if [[ $line =~ ".scope" ]]; then
continue continue
@ -69,6 +70,7 @@ let
echo "service status unknown" echo "service status unknown"
fi fi
done <<< "$service_status" done <<< "$service_status"
fi
''; '';
cfg = config.mySystem.system.motd; cfg = config.mySystem.system.motd;
in in