diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-06-13 21:30:45 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-06-13 21:30:45 +0200 |
| commit | c98991ada4906ae573fa2d9830fc1f41f9059c68 (patch) | |
| tree | e8a8ab597994d75ccab18786b2b88b6a0613322b | |
| parent | 76c9d0aaa9bb734ad1ef32c1cd6a56461210010a (diff) | |
| download | config-c98991ada4906ae573fa2d9830fc1f41f9059c68.tar.gz config-c98991ada4906ae573fa2d9830fc1f41f9059c68.zip | |
Add cups to config
| -rwxr-xr-x | .config/alpine-packages | 6 | ||||
| -rwxr-xr-x | scripts/setup-config-alpine | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/.config/alpine-packages b/.config/alpine-packages index dfcc29a..d012b8e 100755 --- a/.config/alpine-packages +++ b/.config/alpine-packages | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # Base system packages (installed by default) | 1 | # Base system packages (installed by default) |
| 2 | alpine-base busybox-mdev-openrc doas grub-efi openssh openssl | 2 | alpine-base busybox-mdev-openrc doas grub-efi openssh openssl |
| 3 | 3 | ||
| 4 | # Firmware and (installed by default, system-dependent) | 4 | # Firmware and kernel (installed by default, system-dependent) |
| 5 | linux-firmware-i915 linux-firmware-intel linux-firmware-mediatek linux-firmware-other | 5 | linux-firmware-i915 linux-firmware-intel linux-firmware-mediatek linux-firmware-other |
| 6 | linux-firmware-rtl_bt linux-firmware-rtl_nic linux-firmware-xe | 6 | linux-firmware-rtl_bt linux-firmware-rtl_nic linux-firmware-xe |
| 7 | linux-lts | 7 | linux-lts |
| @@ -9,8 +9,8 @@ linux-lts | |||
| 9 | # Documentation | 9 | # Documentation |
| 10 | docs mandoc-apropos | 10 | docs mandoc-apropos |
| 11 | 11 | ||
| 12 | # Wifi and other hardware control | 12 | # Wifi, printing and other hardware control |
| 13 | iwd openresolv pciutils bluez | 13 | iwd openresolv pciutils bluez cups cups-filters |
| 14 | 14 | ||
| 15 | # Audio | 15 | # Audio |
| 16 | pulseaudio pulseaudio-bluez pulseaudio-alsa alsa-plugins-pulse pulseaudio-utils pulsemixer | 16 | pulseaudio pulseaudio-bluez pulseaudio-alsa alsa-plugins-pulse pulseaudio-utils pulsemixer |
diff --git a/scripts/setup-config-alpine b/scripts/setup-config-alpine index a013dcb..414e5be 100755 --- a/scripts/setup-config-alpine +++ b/scripts/setup-config-alpine | |||
| @@ -124,6 +124,12 @@ doas rc-service --ifstarted wpa_supplicant stop | |||
| 124 | doas rc-service iwd start | 124 | doas rc-service iwd start |
| 125 | 125 | ||
| 126 | 126 | ||
| 127 | print_log "Setting up cups" | ||
| 128 | |||
| 129 | doas adduser sebastiano lpadmin | ||
| 130 | doas rc-update add cupsd | ||
| 131 | |||
| 132 | |||
| 127 | print_log "Setting up bluetooth (see https://wiki.alpinelinux.org/wiki/Bluetooth)" | 133 | print_log "Setting up bluetooth (see https://wiki.alpinelinux.org/wiki/Bluetooth)" |
| 128 | 134 | ||
| 129 | doas modprobe btusb | 135 | doas modprobe btusb |
