nixos/activation-script: Add lib.sh with warn()

This commit is contained in:
Robert Hensing
2024-07-16 20:25:06 +02:00
parent 3fb14db08a
commit 1022da85ab
5 changed files with 78 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
# shellcheck shell=bash
warn() {
printf "\033[1;35mwarning:\033[0m %s\n" "$*" >&2
}