diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-11-22 15:29:32 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-11-22 15:29:32 +0100 |
| commit | 6e5673e23844d8c674992dfa79702ce15703b165 (patch) | |
| tree | 935c80c83bc5e3e4b89b0e7fe87576b42997798a | |
| parent | 57d7a14da892fd95c030f521a7a816621411289d (diff) | |
| download | config-6e5673e23844d8c674992dfa79702ce15703b165.tar.gz config-6e5673e23844d8c674992dfa79702ce15703b165.zip | |
| -rwxr-xr-x | .config/alpine-packages | 1 | ||||
| -rwxr-xr-x | scripts/setup-config-alpine | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/.config/alpine-packages b/.config/alpine-packages index 846228f..fc4aaa9 100755 --- a/.config/alpine-packages +++ b/.config/alpine-packages | |||
| @@ -21,6 +21,7 @@ kbd # For console keyboard configuration | |||
| 21 | zip rsync syncthing fzf sfeed yt-dlp mblaze msmtp isync oath-toolkit-oathtool | 21 | zip rsync syncthing fzf sfeed yt-dlp mblaze msmtp isync oath-toolkit-oathtool |
| 22 | lynx | 22 | lynx |
| 23 | efibootmgr | 23 | efibootmgr |
| 24 | fido2 # security keys | ||
| 24 | 25 | ||
| 25 | # Development tools | 26 | # Development tools |
| 26 | build-base git git-email gdb valgrind clang20 python3 rust cargo hare | 27 | build-base git git-email gdb valgrind clang20 python3 rust cargo hare |
diff --git a/scripts/setup-config-alpine b/scripts/setup-config-alpine index 7debb39..58fe77d 100755 --- a/scripts/setup-config-alpine +++ b/scripts/setup-config-alpine | |||
| @@ -147,6 +147,19 @@ doas rc-update add syncthing | |||
| 147 | doas rc-service syncthing start | 147 | doas rc-service syncthing start |
| 148 | 148 | ||
| 149 | 149 | ||
| 150 | print_log "Setting up workaround for security key" | ||
| 151 | |||
| 152 | doas adduser sebastiano plugdev | ||
| 153 | tmp_eudev_file=$(mktemp) | ||
| 154 | cat <<EOF > "$tmp_eudev_file" | ||
| 155 | # SafeNet eToken Fusion (Gemalto/Thales) 08e6:34d2 | ||
| 156 | KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="08e6", ATTRS{idProduct}=="34d2", TAG+="uaccess", GROUP="plugdev", MODE="0660" | ||
| 157 | LABEL="fido_end" | ||
| 158 | EOF | ||
| 159 | doas mkdir -p /etc/udev/rules.d | ||
| 160 | doas mv "$tmp_eudev_file" /etc/udev/rules.d/70-fido-etoken-fusion.rules | ||
| 161 | |||
| 162 | |||
| 150 | print_log "Creating mail directory" | 163 | print_log "Creating mail directory" |
| 151 | 164 | ||
| 152 | mkdir -p mail | 165 | mkdir -p mail |
