From a01a1f4a3b6f839a5dee11a8abe172179c976194 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 23 Feb 2026 14:28:30 +0100 Subject: alpine-base: install base packages + include default profile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bundles/alpine-base/files/profile.sh | 11 +++++++++++ bundles/alpine-base/items.py | 6 ++++++ bundles/alpine-base/metadata.py | 10 ++++++++++ 3 files changed, 27 insertions(+) create mode 100644 bundles/alpine-base/files/profile.sh create mode 100644 bundles/alpine-base/metadata.py diff --git a/bundles/alpine-base/files/profile.sh b/bundles/alpine-base/files/profile.sh new file mode 100644 index 0000000..5ddd284 --- /dev/null +++ b/bundles/alpine-base/files/profile.sh @@ -0,0 +1,11 @@ +alias l='eza -ahl' +alias lt='eza -ahlT' +alias ..='cd ..' +alias suspend='echo "echo mem >/sys/power/state"|doas at now + 2 minutes' +alias poweroff='echo poweroff|doas at now + 2 minutes' +alias y='yazi' +alias vi='nvim' + +export PATH="$PATH:$HOME/bin" + +[ -x "$(command -v zoxide)" ] && eval "$(zoxide init posix --hook prompt)" diff --git a/bundles/alpine-base/items.py b/bundles/alpine-base/items.py index 459f348..0aee9cf 100644 --- a/bundles/alpine-base/items.py +++ b/bundles/alpine-base/items.py @@ -9,3 +9,9 @@ actions = { } # TODO: weekly apk update cronjob? + +files = { + "/etc/profile.d/90custom.sh": { + "source": "profile.sh", + }, +} diff --git a/bundles/alpine-base/metadata.py b/bundles/alpine-base/metadata.py new file mode 100644 index 0000000..f932cd6 --- /dev/null +++ b/bundles/alpine-base/metadata.py @@ -0,0 +1,10 @@ +defaults = { + "apk": { + "packages": { + "eza": {}, + "zoxide": {}, + "yazi": {}, + "btop": {}, + }, + }, +} -- cgit 1.4.1