diff options
| author | Robert Günzler <r@gnzler.io> | 2026-02-23 14:28:30 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-02-23 14:28:30 +0100 |
| commit | a01a1f4a3b6f839a5dee11a8abe172179c976194 (patch) | |
| tree | a430f60490ee603c7e1b0a0f3e9b24c432bd619d | |
| parent | 2d69761436a384a69889120258616dd644c86e7b (diff) | |
alpine-base: install base packages + include default profile
Signed-off-by: Robert Günzler <r@gnzler.io>
| -rw-r--r-- | bundles/alpine-base/files/profile.sh | 11 | ||||
| -rw-r--r-- | bundles/alpine-base/items.py | 6 | ||||
| -rw-r--r-- | bundles/alpine-base/metadata.py | 10 |
3 files changed, 27 insertions, 0 deletions
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": {}, + }, + }, +} |